@bitgo-beta/statics 10.0.1-alpha.3 → 10.0.1-alpha.300
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/.mocharc.js +1 -1
- package/CHANGELOG.md +2913 -0
- package/dist/src/account.d.ts +521 -43
- package/dist/src/account.d.ts.map +1 -1
- package/dist/src/account.js +853 -114
- package/dist/src/ada.d.ts +3 -1
- package/dist/src/ada.d.ts.map +1 -1
- package/dist/src/ada.js +12 -4
- package/dist/src/avaxp.d.ts +3 -1
- package/dist/src/avaxp.d.ts.map +1 -1
- package/dist/src/avaxp.js +16 -5
- package/dist/src/base.d.ts +1571 -26
- package/dist/src/base.d.ts.map +1 -1
- package/dist/src/base.js +1670 -44
- package/dist/src/coinFeatures.d.ts +80 -0
- package/dist/src/coinFeatures.d.ts.map +1 -0
- package/dist/src/coinFeatures.js +458 -0
- package/dist/src/coins/avaxTokens.d.ts +2 -0
- package/dist/src/coins/avaxTokens.d.ts.map +1 -0
- package/dist/src/coins/avaxTokens.js +93 -0
- package/dist/src/coins/bscTokens.d.ts +2 -0
- package/dist/src/coins/bscTokens.d.ts.map +1 -0
- package/dist/src/coins/bscTokens.js +137 -0
- package/dist/src/coins/erc20Coins.d.ts +2 -0
- package/dist/src/coins/erc20Coins.d.ts.map +1 -0
- package/dist/src/coins/erc20Coins.js +1351 -0
- package/dist/src/coins/ofcCoins.d.ts +2 -0
- package/dist/src/coins/ofcCoins.d.ts.map +1 -0
- package/dist/src/coins/ofcCoins.js +278 -0
- package/dist/src/coins/ofcErc20Coins.d.ts +3 -0
- package/dist/src/coins/ofcErc20Coins.d.ts.map +1 -0
- package/dist/src/coins/ofcErc20Coins.js +1279 -0
- package/dist/src/coins/polygonTokens.d.ts +2 -0
- package/dist/src/coins/polygonTokens.d.ts.map +1 -0
- package/dist/src/coins/polygonTokens.js +136 -0
- package/dist/src/coins/sip10Tokens.d.ts +2 -0
- package/dist/src/coins/sip10Tokens.d.ts.map +1 -0
- package/dist/src/coins/sip10Tokens.js +18 -0
- package/dist/src/coins/solTokens.d.ts +2 -0
- package/dist/src/coins/solTokens.d.ts.map +1 -0
- package/dist/src/coins/solTokens.js +330 -0
- package/dist/src/coins.d.ts +2 -0
- package/dist/src/coins.d.ts.map +1 -1
- package/dist/src/coins.js +542 -1014
- package/dist/src/constants.d.ts +3 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +6 -0
- package/dist/src/errors.d.ts +6 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +16 -2
- package/dist/src/gatekeep.d.ts +2 -0
- package/dist/src/gatekeep.d.ts.map +1 -0
- package/dist/src/gatekeep.js +1794 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +18 -3
- package/dist/src/lightning.d.ts +43 -0
- package/dist/src/lightning.d.ts.map +1 -0
- package/dist/src/lightning.js +60 -0
- package/dist/src/map.d.ts +3 -0
- package/dist/src/map.d.ts.map +1 -1
- package/dist/src/map.js +63 -3
- package/dist/src/networks.d.ts +622 -4
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +853 -50
- package/dist/src/ofc.d.ts +424 -4
- package/dist/src/ofc.d.ts.map +1 -1
- package/dist/src/ofc.js +868 -10
- package/dist/src/tokenConfig.d.ts +124 -12
- package/dist/src/tokenConfig.d.ts.map +1 -1
- package/dist/src/tokenConfig.js +293 -101
- package/dist/src/utxo.d.ts +6 -2
- package/dist/src/utxo.d.ts.map +1 -1
- package/dist/src/utxo.js +82 -4
- package/dist/tsconfig.tsbuildinfo +1 -2717
- package/package.json +2 -2
- package/dist/resources/dot/index.d.ts +0 -3
- package/dist/resources/dot/index.d.ts.map +0 -1
- package/dist/resources/dot/index.js +0 -15
- package/dist/resources/dot/mainnet.d.ts +0 -2
- package/dist/resources/dot/mainnet.d.ts.map +0 -1
- package/dist/resources/dot/mainnet.js +0 -5
- package/dist/resources/dot/westend.d.ts +0 -2
- package/dist/resources/dot/westend.d.ts.map +0 -1
- package/dist/resources/dot/westend.js +0 -5
- package/resources/dot/index.ts +0 -2
- package/resources/dot/mainnet.ts +0 -2
- package/resources/dot/westend.ts +0 -2
package/dist/src/ofc.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseCoin, BaseUnit, CoinFeature, CoinKind, KeyCurve, UnderlyingAsset } from './base';
|
|
2
2
|
import { BaseNetwork, OfcNetwork } from './networks';
|
|
3
3
|
export interface OfcConstructorOptions {
|
|
4
|
+
id: string;
|
|
4
5
|
fullName: string;
|
|
5
6
|
name: string;
|
|
6
7
|
network: BaseNetwork;
|
|
@@ -21,6 +22,7 @@ export interface OfcConstructorOptions {
|
|
|
21
22
|
export declare class OfcCoin extends BaseCoin {
|
|
22
23
|
static readonly DEFAULT_FEATURES: CoinFeature[];
|
|
23
24
|
readonly addressCoin?: string;
|
|
25
|
+
readonly minimumDenomination: number;
|
|
24
26
|
constructor(options: OfcConstructorOptions);
|
|
25
27
|
protected requiredFeatures(): Set<CoinFeature>;
|
|
26
28
|
protected disallowedFeatures(): Set<CoinFeature>;
|
|
@@ -28,6 +30,7 @@ export declare class OfcCoin extends BaseCoin {
|
|
|
28
30
|
/**
|
|
29
31
|
* Factory function for ofc coin instances.
|
|
30
32
|
*
|
|
33
|
+
* @param id uuid v4
|
|
31
34
|
* @param name unique identifier of the coin
|
|
32
35
|
* @param fullName Complete human-readable name of the coin
|
|
33
36
|
* @param network Network object for this coin
|
|
@@ -40,12 +43,13 @@ export declare class OfcCoin extends BaseCoin {
|
|
|
40
43
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
41
44
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
42
45
|
*/
|
|
43
|
-
export declare function ofc(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean,
|
|
46
|
+
export declare function ofc(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean,
|
|
44
47
|
/** OFC tokens use SECP256K1 under the hood even if the chain doesn't **/
|
|
45
48
|
primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
46
49
|
/**
|
|
47
50
|
* Factory function for testnet ofc coin instances.
|
|
48
51
|
*
|
|
52
|
+
* @param id uuid v4
|
|
49
53
|
* @param name unique identifier of the coin
|
|
50
54
|
* @param fullName Complete human-readable name of the coin
|
|
51
55
|
* @param network Network object for this coin
|
|
@@ -58,10 +62,11 @@ primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
|
58
62
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
59
63
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
60
64
|
*/
|
|
61
|
-
export declare function tofc(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
65
|
+
export declare function tofc(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
62
66
|
/**
|
|
63
67
|
* Factory function for ofc erc20 coin instances.
|
|
64
68
|
*
|
|
69
|
+
* @param id uuid v4
|
|
65
70
|
* @param name unique identifier of the coin
|
|
66
71
|
* @param fullName Complete human-readable name of the coin
|
|
67
72
|
* @param network Network object for this coin
|
|
@@ -74,10 +79,11 @@ export declare function tofc(name: string, fullName: string, decimalPlaces: numb
|
|
|
74
79
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
75
80
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
76
81
|
*/
|
|
77
|
-
export declare function ofcerc20(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
82
|
+
export declare function ofcerc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
78
83
|
/**
|
|
79
84
|
* Factory function for testnet ofc erc20 coin instances.
|
|
80
85
|
*
|
|
86
|
+
* @param id uuid v4
|
|
81
87
|
* @param name unique identifier of the coin
|
|
82
88
|
* @param fullName Complete human-readable name of the coin
|
|
83
89
|
* @param network Network object for this coin
|
|
@@ -90,5 +96,419 @@ export declare function ofcerc20(name: string, fullName: string, decimalPlaces:
|
|
|
90
96
|
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
91
97
|
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
92
98
|
*/
|
|
93
|
-
export declare function tofcerc20(name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
99
|
+
export declare function tofcerc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
100
|
+
/**
|
|
101
|
+
* Factory function for ofc solana token instances.
|
|
102
|
+
*
|
|
103
|
+
* @param id uuid v4
|
|
104
|
+
* @param name unique identifier of the coin
|
|
105
|
+
* @param fullName Complete human-readable name of the coin
|
|
106
|
+
* @param features
|
|
107
|
+
* @param prefix
|
|
108
|
+
* @param suffix
|
|
109
|
+
* @param network Network object for this coin
|
|
110
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
111
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
112
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
113
|
+
* @param isToken
|
|
114
|
+
* @param addressCoin
|
|
115
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
116
|
+
*/
|
|
117
|
+
export declare function ofcsolToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
118
|
+
/**
|
|
119
|
+
* Factory function for testnet ofc solana token instances.
|
|
120
|
+
*
|
|
121
|
+
* @param id uuid v4
|
|
122
|
+
* @param name unique identifier of the coin
|
|
123
|
+
* @param fullName Complete human-readable name of the coin
|
|
124
|
+
* @param features
|
|
125
|
+
* @param prefix
|
|
126
|
+
* @param suffix
|
|
127
|
+
* @param network Network object for this coin
|
|
128
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
129
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
130
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
131
|
+
* @param isToken
|
|
132
|
+
* @param addressCoin
|
|
133
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
134
|
+
*/
|
|
135
|
+
export declare function tofcsolToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
136
|
+
/**
|
|
137
|
+
* Factory function for ofc stellar token instances.
|
|
138
|
+
*
|
|
139
|
+
* @param id uuid v4
|
|
140
|
+
* @param name unique identifier of the coin
|
|
141
|
+
* @param fullName Complete human-readable name of the coin
|
|
142
|
+
* @param network Network object for this coin
|
|
143
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
144
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
145
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
146
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
147
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
148
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
149
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
150
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
151
|
+
*/
|
|
152
|
+
export declare function ofcStellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
153
|
+
/**
|
|
154
|
+
* Factory function for testnet ofc stellar token instances.
|
|
155
|
+
*
|
|
156
|
+
* @param id uuid v4
|
|
157
|
+
* @param name unique identifier of the coin
|
|
158
|
+
* @param fullName Complete human-readable name of the coin
|
|
159
|
+
* @param network Network object for this coin
|
|
160
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
161
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
162
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
163
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
164
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
165
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
166
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
167
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
168
|
+
*/
|
|
169
|
+
export declare function tofcStellarToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
170
|
+
/**
|
|
171
|
+
* Factory function for ofc algo token instances.
|
|
172
|
+
*
|
|
173
|
+
* @param id uuid v4
|
|
174
|
+
* @param name unique identifier of the coin
|
|
175
|
+
* @param fullName Complete human-readable name of the coin
|
|
176
|
+
* @param network Network object for this coin
|
|
177
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
178
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
179
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
180
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
181
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
182
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
183
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
184
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
185
|
+
*/
|
|
186
|
+
export declare function ofcAlgoToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
187
|
+
/**
|
|
188
|
+
* Factory function for testnet ofc algo token instances.
|
|
189
|
+
*
|
|
190
|
+
* @param id uuid v4
|
|
191
|
+
* @param name unique identifier of the coin
|
|
192
|
+
* @param fullName Complete human-readable name of the coin
|
|
193
|
+
* @param network Network object for this coin
|
|
194
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
195
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
196
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
197
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
198
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
199
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
200
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
201
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
202
|
+
*/
|
|
203
|
+
export declare function tofcAlgoToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
204
|
+
/**
|
|
205
|
+
* Factory function for ofc hedera token instances.
|
|
206
|
+
*
|
|
207
|
+
* @param id uuid v4
|
|
208
|
+
* @param name unique identifier of the coin
|
|
209
|
+
* @param fullName Complete human-readable name of the coin
|
|
210
|
+
* @param network Network object for this coin
|
|
211
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
212
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
213
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
214
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
215
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
216
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
217
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
218
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
219
|
+
*/
|
|
220
|
+
export declare function ofcHederaToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
221
|
+
/**
|
|
222
|
+
* Factory function for testnet ofc hedera token instances.
|
|
223
|
+
*
|
|
224
|
+
* @param id uuid v4
|
|
225
|
+
* @param name unique identifier of the coin
|
|
226
|
+
* @param fullName Complete human-readable name of the coin
|
|
227
|
+
* @param network Network object for this coin
|
|
228
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
229
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
230
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
231
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
232
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
233
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
234
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
235
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
236
|
+
*/
|
|
237
|
+
export declare function tofcHederaToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
238
|
+
/**
|
|
239
|
+
* Factory function for ofc arbethErc20 token instances.
|
|
240
|
+
*
|
|
241
|
+
* @param id uuid v4
|
|
242
|
+
* @param name unique identifier of the coin
|
|
243
|
+
* @param fullName Complete human-readable name of the coin
|
|
244
|
+
* @param network Network object for this coin
|
|
245
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
246
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
247
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
248
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
249
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
250
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
251
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
252
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
253
|
+
*/
|
|
254
|
+
export declare function ofcArbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
255
|
+
/**
|
|
256
|
+
* Factory function for testnet ofc arbethErc20 token instances.
|
|
257
|
+
*
|
|
258
|
+
* @param id uuid v4
|
|
259
|
+
* @param name unique identifier of the coin
|
|
260
|
+
* @param fullName Complete human-readable name of the coin
|
|
261
|
+
* @param network Network object for this coin
|
|
262
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
263
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
264
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
265
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
266
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
267
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
268
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
269
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
270
|
+
*/
|
|
271
|
+
export declare function tofcArbethErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
272
|
+
/**
|
|
273
|
+
* Factory function for ofc avaxErc20 token instances.
|
|
274
|
+
*
|
|
275
|
+
* @param id uuid v4
|
|
276
|
+
* @param name unique identifier of the coin
|
|
277
|
+
* @param fullName Complete human-readable name of the coin
|
|
278
|
+
* @param network Network object for this coin
|
|
279
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
280
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
281
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
282
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
283
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
284
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
285
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
286
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
287
|
+
*/
|
|
288
|
+
export declare function ofcAvaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
289
|
+
/**
|
|
290
|
+
* Factory function for testnet ofc avaxErc20 token instances.
|
|
291
|
+
*
|
|
292
|
+
* @param id uuid v4
|
|
293
|
+
* @param name unique identifier of the coin
|
|
294
|
+
* @param fullName Complete human-readable name of the coin
|
|
295
|
+
* @param network Network object for this coin
|
|
296
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
297
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
298
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
299
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
300
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
301
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
302
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
303
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
304
|
+
*/
|
|
305
|
+
export declare function tofcAvaxErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
306
|
+
/**
|
|
307
|
+
* Factory function for ofc polygonErc20 token instances.
|
|
308
|
+
*
|
|
309
|
+
* @param id uuid v4
|
|
310
|
+
* @param name unique identifier of the coin
|
|
311
|
+
* @param fullName Complete human-readable name of the coin
|
|
312
|
+
* @param network Network object for this coin
|
|
313
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
314
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
315
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
316
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
317
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
318
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
319
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
320
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
321
|
+
*/
|
|
322
|
+
export declare function ofcPolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
323
|
+
/**
|
|
324
|
+
* Factory function for testnet ofc polygonErc20 token instances.
|
|
325
|
+
*
|
|
326
|
+
* @param id uuid v4
|
|
327
|
+
* @param name unique identifier of the coin
|
|
328
|
+
* @param fullName Complete human-readable name of the coin
|
|
329
|
+
* @param network Network object for this coin
|
|
330
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
331
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
332
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
333
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
334
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
335
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
336
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
337
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
338
|
+
*/
|
|
339
|
+
export declare function tofcPolygonErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
340
|
+
/**
|
|
341
|
+
* Factory function for ofc bsc token instances.
|
|
342
|
+
*
|
|
343
|
+
* @param id uuid v4
|
|
344
|
+
* @param name unique identifier of the coin
|
|
345
|
+
* @param fullName Complete human-readable name of the coin
|
|
346
|
+
* @param network Network object for this coin
|
|
347
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
348
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
349
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
350
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
351
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
352
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
353
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
354
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
355
|
+
*/
|
|
356
|
+
export declare function ofcBscToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
357
|
+
/**
|
|
358
|
+
* Factory function for mainnet ofc xrp instances.
|
|
359
|
+
*
|
|
360
|
+
* @param id uuid v4
|
|
361
|
+
* @param name unique identifier of the coin
|
|
362
|
+
* @param fullName Complete human-readable name of the coin
|
|
363
|
+
* @param network Network object for this coin
|
|
364
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
365
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
366
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
367
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
368
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
369
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
370
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
371
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
372
|
+
*/
|
|
373
|
+
export declare function ofcXrpToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
374
|
+
/**
|
|
375
|
+
* Factory function for testnet ofc xrp token instances.
|
|
376
|
+
*
|
|
377
|
+
* @param id uuid v4
|
|
378
|
+
* @param name unique identifier of the coin
|
|
379
|
+
* @param fullName Complete human-readable name of the coin
|
|
380
|
+
* @param network Network object for this coin
|
|
381
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
382
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
383
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
384
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
385
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
386
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
387
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
388
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
389
|
+
*/
|
|
390
|
+
export declare function tofcXrpToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
391
|
+
/**
|
|
392
|
+
* Factory function for mainnet ofc stx instances.
|
|
393
|
+
*
|
|
394
|
+
* @param id uuid v4
|
|
395
|
+
* @param name unique identifier of the coin
|
|
396
|
+
* @param fullName Complete human-readable name of the coin
|
|
397
|
+
* @param network Network object for this coin
|
|
398
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
399
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
400
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
401
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
402
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
403
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
404
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
405
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
406
|
+
*/
|
|
407
|
+
export declare function ofcStxToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
408
|
+
/**
|
|
409
|
+
* Factory function for testnet ofc stx instances.
|
|
410
|
+
*
|
|
411
|
+
* @param id uuid v4
|
|
412
|
+
* @param name unique identifier of the coin
|
|
413
|
+
* @param fullName Complete human-readable name of the coin
|
|
414
|
+
* @param network Network object for this coin
|
|
415
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
416
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
417
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
418
|
+
* @param prefix Optional coin prefix. Defaults to empty string
|
|
419
|
+
* @param suffix Optional coin suffix. Defaults to coin name.
|
|
420
|
+
* @param isToken Whether or not this account coin is a token of another coin
|
|
421
|
+
* @param features Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
422
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
423
|
+
*/
|
|
424
|
+
export declare function tofcStxToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
425
|
+
/**
|
|
426
|
+
* Factory function for ofc opetherc20 token instances.
|
|
427
|
+
*
|
|
428
|
+
* @param id uuid v4
|
|
429
|
+
* @param name unique identifier of the coin
|
|
430
|
+
* @param fullName Complete human-readable name of the coin
|
|
431
|
+
* @param network Network object for this coin
|
|
432
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
433
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
434
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
435
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
436
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
437
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
438
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
439
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
440
|
+
*/
|
|
441
|
+
export declare function ofcOpethErc20(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
442
|
+
/**
|
|
443
|
+
* Factory function for ofc tron token instances.
|
|
444
|
+
*
|
|
445
|
+
* @param id uuid v4
|
|
446
|
+
* @param name unique identifier of the coin
|
|
447
|
+
* @param fullName Complete human-readable name of the coin
|
|
448
|
+
* @param network Network object for this coin
|
|
449
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
450
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
451
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
452
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
453
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
454
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
455
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
456
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
457
|
+
*/
|
|
458
|
+
export declare function ofcTronToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
459
|
+
/**
|
|
460
|
+
* Factory function for ofc tron token instances.
|
|
461
|
+
*
|
|
462
|
+
* @param id uuid v4
|
|
463
|
+
* @param name unique identifier of the coin
|
|
464
|
+
* @param fullName Complete human-readable name of the coin
|
|
465
|
+
* @param network Network object for this coin
|
|
466
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
467
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
468
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
469
|
+
* @param prefix? Optional coin prefix. Defaults to empty string
|
|
470
|
+
* @param suffix? Optional coin suffix. Defaults to coin name.
|
|
471
|
+
* @param isToken? Whether or not this account coin is a token of another coin
|
|
472
|
+
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `OfcCoin`
|
|
473
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
474
|
+
*/
|
|
475
|
+
export declare function tofcTronToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, kind?: CoinKind, features?: CoinFeature[], prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
476
|
+
/**
|
|
477
|
+
* Factory function for ofc aptos token instances.
|
|
478
|
+
*
|
|
479
|
+
* @param id uuid v4
|
|
480
|
+
* @param name unique identifier of the coin
|
|
481
|
+
* @param fullName Complete human-readable name of the coin
|
|
482
|
+
* @param features
|
|
483
|
+
* @param prefix
|
|
484
|
+
* @param suffix
|
|
485
|
+
* @param network Network object for this coin
|
|
486
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
487
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
488
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
489
|
+
* @param isToken
|
|
490
|
+
* @param addressCoin
|
|
491
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
492
|
+
*/
|
|
493
|
+
export declare function ofcaptToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], // TSS_ENTERPRISE_PAYS_FEE is a mandatory field for APTOS being a TSS & having Gas tank as fee payer
|
|
494
|
+
kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
495
|
+
/**
|
|
496
|
+
* Factory function for testnet ofc aptos token instances.
|
|
497
|
+
*
|
|
498
|
+
* @param id uuid v4
|
|
499
|
+
* @param name unique identifier of the coin
|
|
500
|
+
* @param fullName Complete human-readable name of the coin
|
|
501
|
+
* @param features
|
|
502
|
+
* @param prefix
|
|
503
|
+
* @param suffix
|
|
504
|
+
* @param network Network object for this coin
|
|
505
|
+
* @param decimalPlaces Number of decimal places this coin supports (divisibility exponent)
|
|
506
|
+
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
|
|
507
|
+
* @param kind Differentiates coins which represent fiat assets from those which represent crypto assets
|
|
508
|
+
* @param isToken
|
|
509
|
+
* @param addressCoin
|
|
510
|
+
* @param primaryKeyCurve The elliptic curve for this chain/token
|
|
511
|
+
*/
|
|
512
|
+
export declare function tofcaptToken(id: string, name: string, fullName: string, decimalPlaces: number, asset: UnderlyingAsset, features?: CoinFeature[], // TSS_ENTERPRISE_PAYS_FEE is a mandatory field for APTOS being a TSS & having Gas tank as fee payer
|
|
513
|
+
kind?: CoinKind, prefix?: string, suffix?: string, network?: OfcNetwork, isToken?: boolean, addressCoin?: string, primaryKeyCurve?: KeyCurve): Readonly<OfcCoin>;
|
|
94
514
|
//# sourceMappingURL=ofc.d.ts.map
|
package/dist/src/ofc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ofc.d.ts","sourceRoot":"","sources":["../../src/ofc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,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