@aurigami/sdk 0.4.5 → 0.5.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/sdk.cjs.development.js +22 -35
- 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 +22 -35
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/constants.ts +13 -25
- package/src/decimals.ts +10 -14
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -18,49 +18,37 @@ export type NetworkAddresses = {
|
|
|
18
18
|
export const networkAddresses: NetworkAddresses = {
|
|
19
19
|
auTokens: [
|
|
20
20
|
{
|
|
21
|
-
address: '
|
|
21
|
+
address: '0x8bA0b797F3A965C12EF49d924d154B71d63316b5'.toLowerCase(),
|
|
22
22
|
underlying: '0xb12bfca5a55806aaf64e99521918a4bf0fc40802'.toLowerCase()
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
address: '
|
|
25
|
+
address: '0xA2926acb1BEdBC827000FCA08D4279aC3Bb6a443'.toLowerCase(),
|
|
26
26
|
underlying: ETHAddress.toLowerCase()
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
address: '
|
|
29
|
+
address: '0x4176c37161E1873FA08C8301c45D4cC02293AF44'.toLowerCase(),
|
|
30
30
|
underlying: '0xf4eb217ba2454613b15dbdea6e5f22276410e89e'.toLowerCase()
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
address: '
|
|
33
|
+
address: '0xaE1B4372e6881f69Caeb44D0793ed710bb345278'.toLowerCase(),
|
|
34
34
|
underlying: '0x4988a896b1227218e4a686fde5eabdcabd91571f'.toLowerCase()
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
address: '
|
|
37
|
+
address: '0x3d3b76B7E62a1f1bB08684933F63215e0582a149'.toLowerCase(),
|
|
38
38
|
underlying: '0xe3520349f477a5f6eb06107066048508498a291b'.toLowerCase()
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
address: '0x83Ae17f197C1F1260543d4D5A710772761535066'.toLowerCase(),
|
|
42
|
-
underlying: '0x8bec47865ade3b172a928df8f990bc7f2a3b9f79'.toLowerCase()
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
address: '0xcC5CA0156317C1FF2A96E0f45659625081352071'.toLowerCase(),
|
|
46
|
-
underlying: '0xC42C30aC6Cc15faC9bD938618BcaA1a1FaE8501d'.toLowerCase(),
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
address: '0x173Bf18675D52B4887C5d40E935C3ab1192aFb4C'.toLowerCase(),
|
|
50
|
-
underlying: '0xb9b8d9e5557381BF025f1A59B602ad3F19A4e4Be'.toLowerCase()
|
|
51
39
|
}
|
|
52
40
|
],
|
|
53
41
|
misc: {
|
|
54
|
-
COMPTROLLER: "
|
|
55
|
-
oracle: "
|
|
56
|
-
AURIFAIRLAUNCH: "
|
|
57
|
-
AURILENS: '
|
|
58
|
-
TOKENLOCK: '
|
|
42
|
+
COMPTROLLER: "0x448717B7Be11C3fb7AA7f0284f28B399D0004fE1".toLowerCase(),
|
|
43
|
+
oracle: "0xfD47837a18ad6a72F564903a7E5162286E059224".toLowerCase(),
|
|
44
|
+
AURIFAIRLAUNCH: "0x986e3ac1bC3C02714C9Bfd73Cd6a206F10600b4c".toLowerCase(),
|
|
45
|
+
AURILENS: '0xE770e5f08251622F368Bf1a449E072627Ff6cB62'.toLowerCase(),
|
|
46
|
+
TOKENLOCK: '0xE130E307eF5b5c157FB233320b7ebD08f2fD320A'.toLowerCase()
|
|
59
47
|
},
|
|
60
48
|
tokens: {
|
|
61
|
-
AURORA: "
|
|
62
|
-
PLY: "
|
|
63
|
-
AURPLY: "
|
|
49
|
+
AURORA: "0x8BEc47865aDe3B172A928df8f990Bc7f2A3b9f79".toLowerCase(),
|
|
50
|
+
PLY: "0x706bd3b9473126D2E7dCA097d7AAc5dB74918E6c".toLowerCase(),
|
|
51
|
+
AURPLY: "0x95890d73F2995E621F6A66EF9b71413926845542".toLowerCase()
|
|
64
52
|
}
|
|
65
53
|
}
|
|
66
54
|
|
package/src/decimals.ts
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
export const decimalRecords: Record<string, number> = {
|
|
2
2
|
'0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee': 18,
|
|
3
|
-
'
|
|
4
|
-
'
|
|
3
|
+
'0x4176c37161e1873fa08c8301c45d4cc02293af44': 8,
|
|
4
|
+
'0x95890d73f2995e621f6a66ef9b71413926845542': 18,
|
|
5
|
+
'0x3d3b76b7e62a1f1bb08684933f63215e0582a149': 8,
|
|
5
6
|
'0xf4eb217ba2454613b15dbdea6e5f22276410e89e': 8,
|
|
6
|
-
'
|
|
7
|
-
'0xfb0e4680b8b1c7b69fb6a3988029c74fea871dd9': 8,
|
|
7
|
+
'0x8ba0b797f3a965c12ef49d924d154b71d63316b5': 8,
|
|
8
8
|
'0xb12bfca5a55806aaf64e99521918a4bf0fc40802': 6,
|
|
9
|
-
'
|
|
10
|
-
'0xc42c30ac6cc15fac9bd938618bcaa1a1fae8501d': 24,
|
|
11
|
-
'0x7b47690b04494a628151dbb86b4cc95cf2629b14': 8,
|
|
12
|
-
'0x822e871518c22e8570cfbea43fddbbff963d4bde': 18,
|
|
13
|
-
'0x2def6eb801757655ad227110d65c80db595bbc60': 8,
|
|
14
|
-
'0x6bb82009b316a9098c23e3962b4371e879c8d23d': 8,
|
|
9
|
+
'0x706bd3b9473126d2e7dca097d7aac5db74918e6c': 18,
|
|
15
10
|
'0x8bec47865ade3b172a928df8f990bc7f2a3b9f79': 18,
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
|
|
11
|
+
'0xae1b4372e6881f69caeb44d0793ed710bb345278': 8,
|
|
12
|
+
'0x4988a896b1227218e4a686fde5eabdcabd91571f': 6,
|
|
13
|
+
'0xa2926acb1bedbc827000fca08d4279ac3bb6a443': 8,
|
|
14
|
+
'0xe3520349f477a5f6eb06107066048508498a291b': 18
|
|
15
|
+
}
|