@weblock-wallet/sdk 0.1.42 → 0.1.43
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/index.cjs +32 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +32 -56
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -106126,30 +106126,6 @@ var WalletModule = class {
|
|
|
106126
106126
|
network.chainId
|
|
106127
106127
|
);
|
|
106128
106128
|
console.log("\uB124\uC774\uD2F0\uBE0C \uCF54\uC778 \uC794\uC561:", nativeBalance);
|
|
106129
|
-
const rbtBalance = await this.core.wallet.getTokenBalance(
|
|
106130
|
-
"0xB10536cC40Cb6E6415f70d3a4C1AF7Fa638AE829",
|
|
106131
|
-
address,
|
|
106132
|
-
network.chainId
|
|
106133
|
-
);
|
|
106134
|
-
console.log("RBT \uC794\uC561:", rbtBalance);
|
|
106135
|
-
const usdrBalance = await this.core.wallet.getTokenBalance(
|
|
106136
|
-
"0x8d335fe5B30e27F2B21F057a4766cf4BB8c30785",
|
|
106137
|
-
address,
|
|
106138
|
-
network.chainId
|
|
106139
|
-
);
|
|
106140
|
-
console.log("USDR \uC794\uC561:", usdrBalance);
|
|
106141
|
-
const wftBalance = await this.core.wallet.getTokenBalance(
|
|
106142
|
-
"0x6fa62Eda03956ef4E54f3C8597E8c3f3bE40A45B",
|
|
106143
|
-
address,
|
|
106144
|
-
network.chainId
|
|
106145
|
-
);
|
|
106146
|
-
console.log("WFT \uC794\uC561:", wftBalance);
|
|
106147
|
-
const usdtBalance = await this.core.wallet.getTokenBalance(
|
|
106148
|
-
"0xfF54B9ebe777f528E64C74bc95c68433B7546038",
|
|
106149
|
-
address,
|
|
106150
|
-
network.chainId
|
|
106151
|
-
);
|
|
106152
|
-
console.log("USDT \uC794\uC561:", usdtBalance);
|
|
106153
106129
|
console.log("5. \uCD5C\uADFC \uD2B8\uB79C\uC7AD\uC158 \uC870\uD68C \uC2DC\uC791");
|
|
106154
106130
|
const latestTransaction = await this.core.wallet.getLatestTransaction(
|
|
106155
106131
|
address,
|
|
@@ -106169,38 +106145,38 @@ var WalletModule = class {
|
|
|
106169
106145
|
decimals: 18
|
|
106170
106146
|
},
|
|
106171
106147
|
tokens: [
|
|
106172
|
-
{
|
|
106173
|
-
|
|
106174
|
-
|
|
106175
|
-
|
|
106176
|
-
|
|
106177
|
-
|
|
106178
|
-
|
|
106179
|
-
},
|
|
106180
|
-
{
|
|
106181
|
-
|
|
106182
|
-
|
|
106183
|
-
|
|
106184
|
-
|
|
106185
|
-
|
|
106186
|
-
|
|
106187
|
-
},
|
|
106188
|
-
{
|
|
106189
|
-
|
|
106190
|
-
|
|
106191
|
-
|
|
106192
|
-
|
|
106193
|
-
|
|
106194
|
-
|
|
106195
|
-
},
|
|
106196
|
-
{
|
|
106197
|
-
|
|
106198
|
-
|
|
106199
|
-
|
|
106200
|
-
|
|
106201
|
-
|
|
106202
|
-
|
|
106203
|
-
}
|
|
106148
|
+
// {
|
|
106149
|
+
// symbol: rbtBalance.symbol,
|
|
106150
|
+
// name: 'Real-estate Backed Token',
|
|
106151
|
+
// address: '0xB10536cC40Cb6E6415f70d3a4C1AF7Fa638AE829',
|
|
106152
|
+
// balance: rbtBalance,
|
|
106153
|
+
// decimals: rbtBalance.decimals,
|
|
106154
|
+
// totalSupply: rbtBalance,
|
|
106155
|
+
// },
|
|
106156
|
+
// {
|
|
106157
|
+
// symbol: usdrBalance.symbol,
|
|
106158
|
+
// name: 'USD Real-estate',
|
|
106159
|
+
// address: '0x8d335fe5B30e27F2B21F057a4766cf4BB8c30785',
|
|
106160
|
+
// balance: usdrBalance,
|
|
106161
|
+
// decimals: usdrBalance.decimals,
|
|
106162
|
+
// totalSupply: usdrBalance,
|
|
106163
|
+
// },
|
|
106164
|
+
// {
|
|
106165
|
+
// symbol: wftBalance.symbol,
|
|
106166
|
+
// name: 'WeBlock Foundation Token',
|
|
106167
|
+
// address: '0x6fa62Eda03956ef4E54f3C8597E8c3f3bE40A45B',
|
|
106168
|
+
// balance: wftBalance,
|
|
106169
|
+
// decimals: wftBalance.decimals,
|
|
106170
|
+
// totalSupply: wftBalance,
|
|
106171
|
+
// },
|
|
106172
|
+
// {
|
|
106173
|
+
// symbol: usdtBalance.symbol,
|
|
106174
|
+
// name: 'USD Tether',
|
|
106175
|
+
// address: '0xfF54B9ebe777f528E64C74bc95c68433B7546038',
|
|
106176
|
+
// balance: usdtBalance,
|
|
106177
|
+
// decimals: usdtBalance.decimals,
|
|
106178
|
+
// totalSupply: usdtBalance,
|
|
106179
|
+
// },
|
|
106204
106180
|
],
|
|
106205
106181
|
nfts: [],
|
|
106206
106182
|
securities: []
|