sacredrealm-sdk 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/src/constant.ts +4 -2
- package/src/tool/SRWithdraw.ts +7 -0
- package/src/tool/index.ts +2 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "sacredrealm-sdk",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.8",
|
4
4
|
"description": "",
|
5
5
|
"main": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"@walletconnect/web3-provider": "^1.7.5",
|
24
24
|
"ethers": "^5.6.1",
|
25
25
|
"graphql": "^16.3.0",
|
26
|
-
"sacredrealm-core": "^1.0.
|
26
|
+
"sacredrealm-core": "^1.0.8"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"tsdx": "^0.14.1"
|
package/src/constant.ts
CHANGED
@@ -26,17 +26,19 @@ export function contract(env?: string) {
|
|
26
26
|
if (environment === 'production') {
|
27
27
|
return {
|
28
28
|
Inviting: '0x',
|
29
|
-
STStaking: '0x',
|
30
29
|
BondDepository: '0x',
|
30
|
+
STStaking: '0x',
|
31
31
|
SRDeposit: '0x',
|
32
|
+
SRWithdraw: '0x',
|
32
33
|
PancakeRouter: '0x10ED43C718714eb63d5aA57B78B54704E256024E',
|
33
34
|
};
|
34
35
|
} else {
|
35
36
|
return {
|
36
37
|
Inviting: '0x',
|
37
|
-
STStaking: '0x',
|
38
38
|
BondDepository: '0x',
|
39
|
+
STStaking: '0x',
|
39
40
|
SRDeposit: '0x2e8d3785b157104Fa0cF8436499367A64bE0caf1',
|
41
|
+
SRWithdraw: '0x2Bb766e8b9C14Ea8C8aD182D5861cc8D809B77c6',
|
40
42
|
PancakeRouter: '0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3',
|
41
43
|
};
|
42
44
|
}
|
package/src/tool/index.ts
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
export * from './SRDeposit';
|
1
|
+
export * from './SRDeposit';
|
2
|
+
export * from './SRWithdraw';
|