@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.cjs
CHANGED
|
@@ -106167,30 +106167,6 @@ var WalletModule = class {
|
|
|
106167
106167
|
network.chainId
|
|
106168
106168
|
);
|
|
106169
106169
|
console.log("\uB124\uC774\uD2F0\uBE0C \uCF54\uC778 \uC794\uC561:", nativeBalance);
|
|
106170
|
-
const rbtBalance = await this.core.wallet.getTokenBalance(
|
|
106171
|
-
"0xB10536cC40Cb6E6415f70d3a4C1AF7Fa638AE829",
|
|
106172
|
-
address,
|
|
106173
|
-
network.chainId
|
|
106174
|
-
);
|
|
106175
|
-
console.log("RBT \uC794\uC561:", rbtBalance);
|
|
106176
|
-
const usdrBalance = await this.core.wallet.getTokenBalance(
|
|
106177
|
-
"0x8d335fe5B30e27F2B21F057a4766cf4BB8c30785",
|
|
106178
|
-
address,
|
|
106179
|
-
network.chainId
|
|
106180
|
-
);
|
|
106181
|
-
console.log("USDR \uC794\uC561:", usdrBalance);
|
|
106182
|
-
const wftBalance = await this.core.wallet.getTokenBalance(
|
|
106183
|
-
"0x6fa62Eda03956ef4E54f3C8597E8c3f3bE40A45B",
|
|
106184
|
-
address,
|
|
106185
|
-
network.chainId
|
|
106186
|
-
);
|
|
106187
|
-
console.log("WFT \uC794\uC561:", wftBalance);
|
|
106188
|
-
const usdtBalance = await this.core.wallet.getTokenBalance(
|
|
106189
|
-
"0xfF54B9ebe777f528E64C74bc95c68433B7546038",
|
|
106190
|
-
address,
|
|
106191
|
-
network.chainId
|
|
106192
|
-
);
|
|
106193
|
-
console.log("USDT \uC794\uC561:", usdtBalance);
|
|
106194
106170
|
console.log("5. \uCD5C\uADFC \uD2B8\uB79C\uC7AD\uC158 \uC870\uD68C \uC2DC\uC791");
|
|
106195
106171
|
const latestTransaction = await this.core.wallet.getLatestTransaction(
|
|
106196
106172
|
address,
|
|
@@ -106210,38 +106186,38 @@ var WalletModule = class {
|
|
|
106210
106186
|
decimals: 18
|
|
106211
106187
|
},
|
|
106212
106188
|
tokens: [
|
|
106213
|
-
{
|
|
106214
|
-
|
|
106215
|
-
|
|
106216
|
-
|
|
106217
|
-
|
|
106218
|
-
|
|
106219
|
-
|
|
106220
|
-
},
|
|
106221
|
-
{
|
|
106222
|
-
|
|
106223
|
-
|
|
106224
|
-
|
|
106225
|
-
|
|
106226
|
-
|
|
106227
|
-
|
|
106228
|
-
},
|
|
106229
|
-
{
|
|
106230
|
-
|
|
106231
|
-
|
|
106232
|
-
|
|
106233
|
-
|
|
106234
|
-
|
|
106235
|
-
|
|
106236
|
-
},
|
|
106237
|
-
{
|
|
106238
|
-
|
|
106239
|
-
|
|
106240
|
-
|
|
106241
|
-
|
|
106242
|
-
|
|
106243
|
-
|
|
106244
|
-
}
|
|
106189
|
+
// {
|
|
106190
|
+
// symbol: rbtBalance.symbol,
|
|
106191
|
+
// name: 'Real-estate Backed Token',
|
|
106192
|
+
// address: '0xB10536cC40Cb6E6415f70d3a4C1AF7Fa638AE829',
|
|
106193
|
+
// balance: rbtBalance,
|
|
106194
|
+
// decimals: rbtBalance.decimals,
|
|
106195
|
+
// totalSupply: rbtBalance,
|
|
106196
|
+
// },
|
|
106197
|
+
// {
|
|
106198
|
+
// symbol: usdrBalance.symbol,
|
|
106199
|
+
// name: 'USD Real-estate',
|
|
106200
|
+
// address: '0x8d335fe5B30e27F2B21F057a4766cf4BB8c30785',
|
|
106201
|
+
// balance: usdrBalance,
|
|
106202
|
+
// decimals: usdrBalance.decimals,
|
|
106203
|
+
// totalSupply: usdrBalance,
|
|
106204
|
+
// },
|
|
106205
|
+
// {
|
|
106206
|
+
// symbol: wftBalance.symbol,
|
|
106207
|
+
// name: 'WeBlock Foundation Token',
|
|
106208
|
+
// address: '0x6fa62Eda03956ef4E54f3C8597E8c3f3bE40A45B',
|
|
106209
|
+
// balance: wftBalance,
|
|
106210
|
+
// decimals: wftBalance.decimals,
|
|
106211
|
+
// totalSupply: wftBalance,
|
|
106212
|
+
// },
|
|
106213
|
+
// {
|
|
106214
|
+
// symbol: usdtBalance.symbol,
|
|
106215
|
+
// name: 'USD Tether',
|
|
106216
|
+
// address: '0xfF54B9ebe777f528E64C74bc95c68433B7546038',
|
|
106217
|
+
// balance: usdtBalance,
|
|
106218
|
+
// decimals: usdtBalance.decimals,
|
|
106219
|
+
// totalSupply: usdtBalance,
|
|
106220
|
+
// },
|
|
106245
106221
|
],
|
|
106246
106222
|
nfts: [],
|
|
106247
106223
|
securities: []
|