@typus/typus-sdk 1.8.24 → 1.8.26
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.
|
@@ -304,7 +304,7 @@ exports.tokenType = {
|
|
|
304
304
|
XRP: "0x188faaaa44e6276295ab92fdd3eb353e5f25fc35b9d965a5b8243f336af65b78::xrp::XRP",
|
|
305
305
|
sbBTC: "0xaafb102dd0902f5055cadecd687fb5b71ca82ef0e0285d90afde828ec58ca96b::btc::BTC",
|
|
306
306
|
TBTC: "0x77045f1b9f811a7a8fb9ebd085b5b0c55c5cb0d1520ff55f7037f89b5da9f5f1::TBTC::TBTC",
|
|
307
|
-
BNB: "0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN"
|
|
307
|
+
BNB: "0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN",
|
|
308
308
|
},
|
|
309
309
|
TESTNET: {
|
|
310
310
|
SUI: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
|
|
@@ -357,7 +357,7 @@ exports.tokenType = {
|
|
|
357
357
|
XRP: "",
|
|
358
358
|
TBTC: "0xee81baea02ef47860153569bc2f86eafb58baa81aab4e5b910950a4c72aae861::tbtc::TBTC",
|
|
359
359
|
sbBTC: "",
|
|
360
|
-
BNB: ""
|
|
360
|
+
BNB: "",
|
|
361
361
|
},
|
|
362
362
|
};
|
|
363
363
|
exports.oracle = {
|
|
@@ -420,6 +420,7 @@ exports.oracle = {
|
|
|
420
420
|
XAU: "0x172101af6fbaab02b2663ed7c502152431fed5d76ac865ac3ccad134c92d91db",
|
|
421
421
|
TBTC: "0x383cb3519e51c62d84ec54e2fca3438c43a83967738b364c20f0f2a662a668d5",
|
|
422
422
|
sbETH: "0xdf6785f0fc35af5621c5a4d6e5056298fe34c3147dca871d8bb0fee6d1d8a536",
|
|
423
|
+
xBTC: "0x9cc058063456b99b0b579e2c8cddbeb4b850bd8b1eb8aad02dead97ceec8f9bb",
|
|
423
424
|
},
|
|
424
425
|
};
|
|
425
426
|
exports.tokenRegistry = {
|
|
@@ -45,7 +45,7 @@ exports.priceIDs = {
|
|
|
45
45
|
XRP: "0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8",
|
|
46
46
|
xBTC: "0xae8f269ed9c4bed616c99a98cf6dfe562bd3202e7f91821a471ff854713851b4",
|
|
47
47
|
TBTC: "0x56a3121958b01f99fdc4e1fd01e81050602c7ace3a571918bb55c6a96657cca9",
|
|
48
|
-
BNB: "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f"
|
|
48
|
+
BNB: "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f",
|
|
49
49
|
},
|
|
50
50
|
TESTNET: {
|
|
51
51
|
// Pyth EVM Beta
|
|
@@ -85,6 +85,7 @@ exports.priceIDs = {
|
|
|
85
85
|
XAU: "0x30a19158f5a54c0adf8fb7560627343f22a1bc852b89d56be1accdc5dbf96d0e",
|
|
86
86
|
TBTC: "0xed1b51d4fb17e8c8b54a0c5bdbd59b38a0304d032287eb38d907374f16b5f535",
|
|
87
87
|
BNB: "0xecf553770d9b10965f8fb64771e93f5690a182edc32be4a3236e0caaa6e0581a",
|
|
88
|
+
xBTC: "0xfd5464ac394d347958864c8a93dc71f2be56a5943fefc459a0074dc314b415d8",
|
|
88
89
|
},
|
|
89
90
|
};
|
|
90
91
|
exports.priceInfoObjectIds = {
|
|
@@ -118,7 +119,7 @@ exports.priceInfoObjectIds = {
|
|
|
118
119
|
XRP: "0x93bfda25cb6b1653a9c769e8216014bd2c06997f3edb479566761fbf2abf6ac2",
|
|
119
120
|
xBTC: "0xa4b9db1866ee6e2a156e8c36fc66be0f68f232388ebb578c949c2c6beb50128b",
|
|
120
121
|
JPY: "0xde0e6088e7292f50738ecbdebd4502415d4f8de4cfe001918e29b3f4faf15baa",
|
|
121
|
-
BNB: "0x9c6e77f0ecfc46aac395e21c52ccb96518f85acacae743c5b47f4ca5e29826c3"
|
|
122
|
+
BNB: "0x9c6e77f0ecfc46aac395e21c52ccb96518f85acacae743c5b47f4ca5e29826c3",
|
|
122
123
|
},
|
|
123
124
|
TESTNET: {
|
|
124
125
|
SUI: "0x1ebb295c789cc42b3b2a1606482cd1c7124076a0f5676718501fda8c7fd075a0",
|
|
@@ -144,6 +145,7 @@ exports.priceInfoObjectIds = {
|
|
|
144
145
|
BLUB: "0xdcd4cc5f06fac1ca72e8551ab1a2e847298afa6f19e370ad9891199a59d2c22e",
|
|
145
146
|
JPY: "0xd14cadaf54a926f701db021eceaa89b3d09363e1bce51bfcb2291a32a693f928",
|
|
146
147
|
XAU: "0x742d48ff1d7a45c91aee4ad4f0059396c28988f99074d4a191951ac086b90a5a",
|
|
148
|
+
xBTC: "0xb6c3b17fdda1eaa847e62c8d36a8dada35b010bb340fdb5a16d556f0fa37e59b",
|
|
147
149
|
},
|
|
148
150
|
};
|
|
149
151
|
// Get the state IDs of the Pyth and Wormhole contracts from
|
package/package.json
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"name": "@typus/typus-sdk",
|
|
3
3
|
"author": "Typus",
|
|
4
4
|
"description": "typus sdk",
|
|
5
|
-
"version": "1.8.
|
|
5
|
+
"version": "1.8.26",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@mysten/bcs": "^1.6.1",
|
|
8
8
|
"@mysten/kiosk": "^0.12.6",
|
|
9
9
|
"@mysten/sui": "^1.30.0",
|
|
10
|
-
"@pythnetwork/pyth-sui-js": "
|
|
10
|
+
"@pythnetwork/pyth-sui-js": "2.3.0",
|
|
11
11
|
"@shinami/clients": "^0.9.6",
|
|
12
12
|
"@types/node": "^20.5.7",
|
|
13
13
|
"bignumber.js": "^9.1.2",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"url": "https://github.com/Typus-Lab/typus-sdk/issues"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/Typus-Lab/typus-sdk#readme",
|
|
53
|
-
"packageManager": "yarn@
|
|
54
|
-
}
|
|
53
|
+
"packageManager": "yarn@1.22.19+sha512.ff4579ab459bb25aa7c0ff75b62acebe576f6084b36aa842971cf250a5d8c6cd3bc9420b22ce63c7f93a0857bc6ef29291db39c3e7a23aab5adfd5a4dd6c5d71"
|
|
54
|
+
}
|