@aurigami/sdk 1.15.3 → 1.16.0
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/dist/consts/constants.d.ts +83 -9
- package/dist/sdk.cjs.development.js +6 -1
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +6 -1
- package/dist/sdk.esm.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +3 -3
- package/src/consts/constants.ts +7 -11
- package/src/consts/decimals.ts +3 -2
- package/src/interactors/MoneyMarket.ts +1 -6
- package/src/types/index.ts +1 -1
|
@@ -5,16 +5,90 @@ export declare const ETHAddress: string;
|
|
|
5
5
|
export declare const AURORA_CHAINID = 1313161554;
|
|
6
6
|
export declare const DECIMAL_PRECISION = 10;
|
|
7
7
|
export declare const AURORA_PLUS_API_PREFIX = "https://aurora.plus/api/wallet/";
|
|
8
|
-
export declare
|
|
9
|
-
auTokens: {
|
|
10
|
-
name:
|
|
11
|
-
address: string;
|
|
12
|
-
underlying: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
export declare const networkAddresses: {
|
|
9
|
+
readonly auTokens: readonly [{
|
|
10
|
+
readonly name: "auUSDC";
|
|
11
|
+
readonly address: string;
|
|
12
|
+
readonly underlying: string;
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: "auETH";
|
|
15
|
+
readonly address: string;
|
|
16
|
+
readonly underlying: string;
|
|
17
|
+
}, {
|
|
18
|
+
readonly name: "auWBTC";
|
|
19
|
+
readonly address: string;
|
|
20
|
+
readonly underlying: string;
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "auUSDT";
|
|
23
|
+
readonly address: string;
|
|
24
|
+
readonly underlying: string;
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: "auDAI";
|
|
27
|
+
readonly address: string;
|
|
28
|
+
readonly underlying: string;
|
|
29
|
+
}, {
|
|
30
|
+
readonly name: "auWNEAR";
|
|
31
|
+
readonly address: string;
|
|
32
|
+
readonly underlying: string;
|
|
33
|
+
}, {
|
|
34
|
+
readonly name: "auSTNEAR";
|
|
35
|
+
readonly address: string;
|
|
36
|
+
readonly underlying: string;
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "auAURORA";
|
|
39
|
+
readonly address: string;
|
|
40
|
+
readonly underlying: string;
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "auTRI";
|
|
43
|
+
readonly address: string;
|
|
44
|
+
readonly underlying: string;
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "auPLY";
|
|
47
|
+
readonly address: string;
|
|
48
|
+
readonly underlying: string;
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "auUSN";
|
|
51
|
+
readonly address: string;
|
|
52
|
+
readonly underlying: string;
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "auNEARX";
|
|
55
|
+
readonly address: string;
|
|
56
|
+
readonly underlying: string;
|
|
57
|
+
}];
|
|
58
|
+
readonly misc: {
|
|
59
|
+
readonly COMPTROLLER: string;
|
|
60
|
+
readonly oracle: string;
|
|
61
|
+
readonly AURIFAIRLAUNCH: string;
|
|
62
|
+
readonly AURILENS: string;
|
|
63
|
+
readonly ETHREPAYHELPER: string;
|
|
64
|
+
readonly AURI_AIRDROP: string;
|
|
65
|
+
readonly MULTICALL: string;
|
|
66
|
+
readonly TEAM_MULTISIG: string;
|
|
67
|
+
readonly TEAM_MULTISIG_AURORA_PLUS: string;
|
|
68
|
+
readonly AURORA_PLUS: string;
|
|
69
|
+
readonly PULP_CONTRACT: string;
|
|
70
|
+
readonly PLY_TOKEN_LOCK: string;
|
|
71
|
+
readonly REFERRAL: string;
|
|
72
|
+
readonly REFERRAL_V2: string;
|
|
73
|
+
readonly AURI_INTERNAL_LENS: string;
|
|
74
|
+
readonly PLYGAME: string;
|
|
75
|
+
};
|
|
76
|
+
readonly tokens: {
|
|
77
|
+
readonly AURORA: string;
|
|
78
|
+
readonly PLY: string;
|
|
79
|
+
readonly stNEAR: string;
|
|
80
|
+
readonly USDC: string;
|
|
81
|
+
readonly WNEAR: string;
|
|
82
|
+
readonly TRI: string;
|
|
83
|
+
readonly META: string;
|
|
84
|
+
readonly PULP: string;
|
|
85
|
+
readonly PLYWNEAR: string;
|
|
86
|
+
readonly USN: string;
|
|
87
|
+
readonly PLY_WNEAR: string;
|
|
88
|
+
readonly WNEAR_TRI: string;
|
|
89
|
+
readonly AURORA_WNEAR: string;
|
|
90
|
+
};
|
|
16
91
|
};
|
|
17
|
-
export declare const networkAddresses: NetworkAddresses;
|
|
18
92
|
export declare const DEPOSIT_ONLY_TOKENS: string[];
|
|
19
93
|
export declare const PRICE_WHITELISTED: Set<string>;
|
|
20
94
|
export declare const REWARD_CLAIM_START = 1651759200;
|
|
@@ -102,6 +102,10 @@ var networkAddresses = {
|
|
|
102
102
|
name: 'auUSN',
|
|
103
103
|
address: /*#__PURE__*/MAINNET_ADDRESSES.auTokens.USN.toLowerCase(),
|
|
104
104
|
underlying: /*#__PURE__*/'0x5183e1b1091804bc2602586919e6880ac1cf2896'.toLowerCase()
|
|
105
|
+
}, {
|
|
106
|
+
name: 'auNEARX',
|
|
107
|
+
address: /*#__PURE__*/MAINNET_ADDRESSES.auTokens.NEARX.toLowerCase(),
|
|
108
|
+
underlying: /*#__PURE__*/'0xb39eeb9e168ef6c639f5e282fef1f6bc4dcae375'.toLowerCase()
|
|
105
109
|
}],
|
|
106
110
|
misc: {
|
|
107
111
|
COMPTROLLER: /*#__PURE__*/MAINNET_ADDRESSES.comptroller.toLowerCase(),
|
|
@@ -225,7 +229,8 @@ var decimalRecords = {
|
|
|
225
229
|
'0x044b6b0cd3bb13d2b9057781df4459c66781dce7': 18,
|
|
226
230
|
'0x5183e1b1091804bc2602586919e6880ac1cf2896': 18,
|
|
227
231
|
'0x84b123875f0f36b966d0b6ca14b31121bd9676ad': 18,
|
|
228
|
-
'0x1e0e812fbcd3eb75d8562ad6f310ed94d258d008': 18
|
|
232
|
+
'0x1e0e812fbcd3eb75d8562ad6f310ed94d258d008': 18,
|
|
233
|
+
'0xb39eeb9e168ef6c639f5e282fef1f6bc4dcae375': 24
|
|
229
234
|
};
|
|
230
235
|
|
|
231
236
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|