@ledgerhq/coin-stellar 6.26.0 → 6.26.2
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/.oxlintrc.json +7 -0
- package/CHANGELOG.md +12 -0
- package/LICENSE +194 -0
- package/knip.json +12 -0
- package/lib/api/index.d.ts +5 -5
- package/lib/api/index.d.ts.map +1 -1
- package/lib/api/index.js +12 -10
- package/lib/api/index.js.map +1 -1
- package/lib/config.d.ts +1 -1
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +2 -0
- package/lib/config.js.map +1 -1
- package/lib/constants.d.ts.map +1 -1
- package/lib/constants.js +3 -1
- package/lib/constants.js.map +1 -1
- package/lib/logic/broadcast.d.ts.map +1 -1
- package/lib/logic/broadcast.js +2 -0
- package/lib/logic/broadcast.js.map +1 -1
- package/lib/logic/combine.d.ts +1 -1
- package/lib/logic/combine.d.ts.map +1 -1
- package/lib/logic/combine.js +2 -0
- package/lib/logic/combine.js.map +1 -1
- package/lib/logic/common.d.ts +1 -1
- package/lib/logic/common.d.ts.map +1 -1
- package/lib/logic/common.js +4 -2
- package/lib/logic/common.js.map +1 -1
- package/lib/logic/craftTransaction.d.ts +1 -1
- package/lib/logic/craftTransaction.d.ts.map +1 -1
- package/lib/logic/craftTransaction.js +10 -8
- package/lib/logic/craftTransaction.js.map +1 -1
- package/lib/logic/estimateFees.d.ts.map +1 -1
- package/lib/logic/estimateFees.js +2 -0
- package/lib/logic/estimateFees.js.map +1 -1
- package/lib/logic/getBalance.d.ts +1 -1
- package/lib/logic/getBalance.d.ts.map +1 -1
- package/lib/logic/getBalance.js +4 -2
- package/lib/logic/getBalance.js.map +1 -1
- package/lib/logic/getBlock.d.ts +1 -1
- package/lib/logic/getBlock.d.ts.map +1 -1
- package/lib/logic/getBlock.js +39 -34
- package/lib/logic/getBlock.js.map +1 -1
- package/lib/logic/getBlockInfo.d.ts +1 -1
- package/lib/logic/getBlockInfo.d.ts.map +1 -1
- package/lib/logic/getBlockInfo.js +2 -0
- package/lib/logic/getBlockInfo.js.map +1 -1
- package/lib/logic/index.d.ts +12 -12
- package/lib/logic/index.d.ts.map +1 -1
- package/lib/logic/index.js +2 -0
- package/lib/logic/index.js.map +1 -1
- package/lib/logic/lastBlock.d.ts +1 -1
- package/lib/logic/lastBlock.d.ts.map +1 -1
- package/lib/logic/lastBlock.js +2 -0
- package/lib/logic/lastBlock.js.map +1 -1
- package/lib/logic/listOperations.d.ts +1 -1
- package/lib/logic/listOperations.d.ts.map +1 -1
- package/lib/logic/listOperations.js +6 -4
- package/lib/logic/listOperations.js.map +1 -1
- package/lib/logic/sdkWrapper.d.ts +1 -1
- package/lib/logic/sdkWrapper.d.ts.map +1 -1
- package/lib/logic/sdkWrapper.js +2 -0
- package/lib/logic/sdkWrapper.js.map +1 -1
- package/lib/logic/utils.d.ts.map +1 -1
- package/lib/logic/utils.js +4 -2
- package/lib/logic/utils.js.map +1 -1
- package/lib/logic/validateAddress.d.ts +1 -1
- package/lib/logic/validateAddress.d.ts.map +1 -1
- package/lib/logic/validateAddress.js +2 -0
- package/lib/logic/validateAddress.js.map +1 -1
- package/lib/logic/validateIntent.d.ts +2 -2
- package/lib/logic/validateIntent.d.ts.map +1 -1
- package/lib/logic/validateIntent.js +21 -19
- package/lib/logic/validateIntent.js.map +1 -1
- package/lib/logic/validateMemo.d.ts +1 -1
- package/lib/logic/validateMemo.d.ts.map +1 -1
- package/lib/logic/validateMemo.js +7 -5
- package/lib/logic/validateMemo.js.map +1 -1
- package/lib/network/horizon.d.ts +6 -7
- package/lib/network/horizon.d.ts.map +1 -1
- package/lib/network/horizon.js +48 -95
- package/lib/network/horizon.js.map +1 -1
- package/lib/network/horizonErrorBody.d.ts +29 -0
- package/lib/network/horizonErrorBody.d.ts.map +1 -0
- package/lib/network/horizonErrorBody.js +139 -0
- package/lib/network/horizonErrorBody.js.map +1 -0
- package/lib/network/horizonLedgerErrors.d.ts.map +1 -1
- package/lib/network/horizonLedgerErrors.js +28 -4
- package/lib/network/horizonLedgerErrors.js.map +1 -1
- package/lib/network/index.d.ts +1 -1
- package/lib/network/index.d.ts.map +1 -1
- package/lib/network/index.js +2 -0
- package/lib/network/index.js.map +1 -1
- package/lib/network/serialization.d.ts +6 -4
- package/lib/network/serialization.d.ts.map +1 -1
- package/lib/network/serialization.js +95 -91
- package/lib/network/serialization.js.map +1 -1
- package/lib/polyfill.d.ts.map +1 -1
- package/lib/polyfill.js +6 -4
- package/lib/polyfill.js.map +1 -1
- package/lib/supportedFeatures.d.ts +1 -1
- package/lib/supportedFeatures.d.ts.map +1 -1
- package/lib/supportedFeatures.js +3 -1
- package/lib/supportedFeatures.js.map +1 -1
- package/lib/types/errors.d.ts.map +1 -1
- package/lib/types/errors.js +14 -12
- package/lib/types/errors.js.map +1 -1
- package/lib/types/index.d.ts +2 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +2 -0
- package/lib/types/index.js.map +1 -1
- package/lib/types/model.d.ts +6 -6
- package/lib/types/model.d.ts.map +1 -1
- package/lib/types/model.js +7 -5
- package/lib/types/model.js.map +1 -1
- package/lib-es/api/index.d.ts +5 -5
- package/lib-es/api/index.d.ts.map +1 -1
- package/lib-es/api/index.js +20 -18
- package/lib-es/api/index.js.map +1 -1
- package/lib-es/config.d.ts +1 -1
- package/lib-es/config.d.ts.map +1 -1
- package/lib-es/config.js +3 -1
- package/lib-es/config.js.map +1 -1
- package/lib-es/constants.d.ts.map +1 -1
- package/lib-es/constants.js +3 -1
- package/lib-es/constants.js.map +1 -1
- package/lib-es/logic/broadcast.d.ts.map +1 -1
- package/lib-es/logic/broadcast.js +3 -1
- package/lib-es/logic/broadcast.js.map +1 -1
- package/lib-es/logic/combine.d.ts +1 -1
- package/lib-es/logic/combine.d.ts.map +1 -1
- package/lib-es/logic/combine.js +3 -1
- package/lib-es/logic/combine.js.map +1 -1
- package/lib-es/logic/common.d.ts +1 -1
- package/lib-es/logic/common.d.ts.map +1 -1
- package/lib-es/logic/common.js +5 -3
- package/lib-es/logic/common.js.map +1 -1
- package/lib-es/logic/craftTransaction.d.ts +1 -1
- package/lib-es/logic/craftTransaction.d.ts.map +1 -1
- package/lib-es/logic/craftTransaction.js +15 -13
- package/lib-es/logic/craftTransaction.js.map +1 -1
- package/lib-es/logic/estimateFees.d.ts.map +1 -1
- package/lib-es/logic/estimateFees.js +3 -1
- package/lib-es/logic/estimateFees.js.map +1 -1
- package/lib-es/logic/getBalance.d.ts +1 -1
- package/lib-es/logic/getBalance.d.ts.map +1 -1
- package/lib-es/logic/getBalance.js +5 -3
- package/lib-es/logic/getBalance.js.map +1 -1
- package/lib-es/logic/getBlock.d.ts +1 -1
- package/lib-es/logic/getBlock.d.ts.map +1 -1
- package/lib-es/logic/getBlock.js +42 -37
- package/lib-es/logic/getBlock.js.map +1 -1
- package/lib-es/logic/getBlockInfo.d.ts +1 -1
- package/lib-es/logic/getBlockInfo.d.ts.map +1 -1
- package/lib-es/logic/getBlockInfo.js +3 -1
- package/lib-es/logic/getBlockInfo.js.map +1 -1
- package/lib-es/logic/index.d.ts +12 -12
- package/lib-es/logic/index.d.ts.map +1 -1
- package/lib-es/logic/index.js +14 -12
- package/lib-es/logic/index.js.map +1 -1
- package/lib-es/logic/lastBlock.d.ts +1 -1
- package/lib-es/logic/lastBlock.d.ts.map +1 -1
- package/lib-es/logic/lastBlock.js +3 -1
- package/lib-es/logic/lastBlock.js.map +1 -1
- package/lib-es/logic/listOperations.d.ts +1 -1
- package/lib-es/logic/listOperations.d.ts.map +1 -1
- package/lib-es/logic/listOperations.js +7 -5
- package/lib-es/logic/listOperations.js.map +1 -1
- package/lib-es/logic/sdkWrapper.d.ts +1 -1
- package/lib-es/logic/sdkWrapper.d.ts.map +1 -1
- package/lib-es/logic/sdkWrapper.js +4 -2
- package/lib-es/logic/sdkWrapper.js.map +1 -1
- package/lib-es/logic/utils.d.ts.map +1 -1
- package/lib-es/logic/utils.js +6 -4
- package/lib-es/logic/utils.js.map +1 -1
- package/lib-es/logic/validateAddress.d.ts +1 -1
- package/lib-es/logic/validateAddress.d.ts.map +1 -1
- package/lib-es/logic/validateAddress.js +3 -1
- package/lib-es/logic/validateAddress.js.map +1 -1
- package/lib-es/logic/validateIntent.d.ts +2 -2
- package/lib-es/logic/validateIntent.d.ts.map +1 -1
- package/lib-es/logic/validateIntent.js +30 -28
- package/lib-es/logic/validateIntent.js.map +1 -1
- package/lib-es/logic/validateMemo.d.ts +1 -1
- package/lib-es/logic/validateMemo.d.ts.map +1 -1
- package/lib-es/logic/validateMemo.js +8 -6
- package/lib-es/logic/validateMemo.js.map +1 -1
- package/lib-es/network/horizon.d.ts +6 -7
- package/lib-es/network/horizon.d.ts.map +1 -1
- package/lib-es/network/horizon.js +57 -104
- package/lib-es/network/horizon.js.map +1 -1
- package/lib-es/network/horizonErrorBody.d.ts +29 -0
- package/lib-es/network/horizonErrorBody.d.ts.map +1 -0
- package/lib-es/network/horizonErrorBody.js +134 -0
- package/lib-es/network/horizonErrorBody.js.map +1 -0
- package/lib-es/network/horizonLedgerErrors.d.ts.map +1 -1
- package/lib-es/network/horizonLedgerErrors.js +30 -6
- package/lib-es/network/horizonLedgerErrors.js.map +1 -1
- package/lib-es/network/index.d.ts +1 -1
- package/lib-es/network/index.d.ts.map +1 -1
- package/lib-es/network/index.js +3 -1
- package/lib-es/network/index.js.map +1 -1
- package/lib-es/network/serialization.d.ts +6 -4
- package/lib-es/network/serialization.d.ts.map +1 -1
- package/lib-es/network/serialization.js +97 -95
- package/lib-es/network/serialization.js.map +1 -1
- package/lib-es/polyfill.d.ts.map +1 -1
- package/lib-es/polyfill.js +7 -5
- package/lib-es/polyfill.js.map +1 -1
- package/lib-es/supportedFeatures.d.ts +1 -1
- package/lib-es/supportedFeatures.d.ts.map +1 -1
- package/lib-es/supportedFeatures.js +3 -1
- package/lib-es/supportedFeatures.js.map +1 -1
- package/lib-es/types/errors.d.ts.map +1 -1
- package/lib-es/types/errors.js +15 -13
- package/lib-es/types/errors.js.map +1 -1
- package/lib-es/types/index.d.ts +2 -2
- package/lib-es/types/index.d.ts.map +1 -1
- package/lib-es/types/index.js +4 -2
- package/lib-es/types/index.js.map +1 -1
- package/lib-es/types/model.d.ts +6 -6
- package/lib-es/types/model.d.ts.map +1 -1
- package/lib-es/types/model.js +7 -5
- package/lib-es/types/model.js.map +1 -1
- package/package.json +13 -16
- package/src/api/index.integ.test.ts +168 -163
- package/src/api/index.test.ts +106 -103
- package/src/api/index.ts +49 -46
- package/src/api/index_error.test.ts +48 -25
- package/src/config.ts +15 -12
- package/src/constants.ts +4 -1
- package/src/globals.d.ts +7 -5
- package/src/logic/broadcast.integ.test.ts +22 -19
- package/src/logic/broadcast.ts +5 -2
- package/src/logic/combine.test.ts +18 -15
- package/src/logic/combine.ts +8 -5
- package/src/logic/common.ts +9 -6
- package/src/logic/craftTransaction.test.ts +76 -75
- package/src/logic/craftTransaction.ts +46 -43
- package/src/logic/estimateFees.ts +6 -3
- package/src/logic/getBalance.test.ts +31 -28
- package/src/logic/getBalance.ts +13 -10
- package/src/logic/getBlock.integ.test.ts +40 -39
- package/src/logic/getBlock.test.ts +462 -415
- package/src/logic/getBlock.ts +142 -127
- package/src/logic/getBlockInfo.test.ts +72 -69
- package/src/logic/getBlockInfo.ts +15 -12
- package/src/logic/index.ts +15 -12
- package/src/logic/lastBlock.ts +6 -3
- package/src/logic/listOperations.ts +14 -11
- package/src/logic/listOperations.unit.test.ts +212 -209
- package/src/logic/networkWrappers.test.ts +32 -29
- package/src/logic/sdkWrapper.ts +19 -16
- package/src/logic/utils.ts +13 -10
- package/src/logic/validateAddress.test.ts +21 -18
- package/src/logic/validateAddress.ts +7 -4
- package/src/logic/validateIntent.test.ts +62 -59
- package/src/logic/validateIntent.ts +87 -84
- package/src/logic/validateMemo.test.ts +50 -47
- package/src/logic/validateMemo.ts +16 -13
- package/src/network/broadcastTransaction.test.ts +83 -63
- package/src/network/fetchLedgerOperations.unit.test.ts +155 -0
- package/src/network/horizon.integ.test.ts +45 -42
- package/src/network/horizon.test.ts +17 -14
- package/src/network/horizon.ts +244 -314
- package/src/network/horizon.unit.test.ts +238 -237
- package/src/network/horizonErrorBody.test.ts +133 -0
- package/src/network/horizonErrorBody.ts +178 -0
- package/src/network/horizonLedgerErrors.test.ts +150 -78
- package/src/network/horizonLedgerErrors.ts +47 -20
- package/src/network/index.ts +4 -1
- package/src/network/registerHorizonInterceptors.test.ts +163 -160
- package/src/network/serialization.ts +232 -227
- package/src/network/serialization.unit.test.ts +801 -798
- package/src/polyfill.ts +18 -15
- package/src/supportedFeatures.ts +6 -3
- package/src/types/errors.ts +33 -32
- package/src/types/index.ts +5 -2
- package/src/types/model.ts +55 -52
- package/tsconfig.json +1 -1
- package/.unimportedrc.json +0 -17
- package/LICENSE.txt +0 -21
- package/src/network/fetchLedgerOperations.nock.unit.test.ts +0 -156
package/src/logic/getBalance.ts
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// SPDX-FileCopyrightText: © 2026 LEDGER SAS
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import { Balance } from '@ledgerhq/coin-module-framework/api/types'
|
|
5
|
+
import { fetchAccount } from '../network'
|
|
3
6
|
|
|
4
7
|
export async function getBalance(addr: string): Promise<Balance[]> {
|
|
5
|
-
const { balance, assets, spendableBalance } = await fetchAccount(addr)
|
|
6
|
-
const locked = BigInt(balance.toFixed()) - BigInt(spendableBalance.toFixed())
|
|
8
|
+
const { balance, assets, spendableBalance } = await fetchAccount(addr)
|
|
9
|
+
const locked = BigInt(balance.toFixed()) - BigInt(spendableBalance.toFixed())
|
|
7
10
|
const nativeRes = [
|
|
8
11
|
{
|
|
9
12
|
value: BigInt(balance.toFixed()),
|
|
10
|
-
asset: { type:
|
|
13
|
+
asset: { type: 'native' as const },
|
|
11
14
|
locked: locked, // locked balance is the difference between native balance and spendable balance
|
|
12
15
|
},
|
|
13
|
-
]
|
|
16
|
+
]
|
|
14
17
|
if (!assets || assets.length === 0) {
|
|
15
|
-
return nativeRes
|
|
18
|
+
return nativeRes
|
|
16
19
|
}
|
|
17
20
|
/**
|
|
18
21
|
* https://developers.stellar.org/docs/data/apis/horizon/api-reference/retrieve-an-account
|
|
@@ -21,14 +24,14 @@ export async function getBalance(addr: string): Promise<Balance[]> {
|
|
|
21
24
|
* > Number.parseFloat('0.1468328') * 10 ** 7
|
|
22
25
|
* 1468328.0000000002
|
|
23
26
|
*/
|
|
24
|
-
const assetBalances: Balance[] = assets.map(asset => ({
|
|
27
|
+
const assetBalances: Balance[] = assets.map((asset) => ({
|
|
25
28
|
value: BigInt(Math.floor(Number.parseFloat(asset.balance) * 10 ** 7)),
|
|
26
29
|
asset: {
|
|
27
30
|
type: asset.asset_type,
|
|
28
31
|
assetReference: asset.asset_code,
|
|
29
32
|
assetOwner: asset.asset_issuer,
|
|
30
33
|
},
|
|
31
|
-
}))
|
|
34
|
+
}))
|
|
32
35
|
|
|
33
|
-
return [...nativeRes, ...assetBalances]
|
|
36
|
+
return [...nativeRes, ...assetBalances]
|
|
34
37
|
}
|
|
@@ -1,72 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { getBlockInfo } from "./getBlockInfo";
|
|
1
|
+
// SPDX-FileCopyrightText: © 2026 LEDGER SAS
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
import coinConfig, { type StellarCoinConfig } from '../config'
|
|
5
|
+
import { getBlock } from './getBlock'
|
|
6
|
+
import { getBlockInfo } from './getBlockInfo'
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
const FIXED_LEDGER_SEQUENCE = 20_000_000
|
|
9
|
+
|
|
10
|
+
let originalGetCoinConfig: () => StellarCoinConfig
|
|
8
11
|
|
|
9
12
|
const mainnetConfig = (): StellarCoinConfig =>
|
|
10
13
|
({
|
|
11
|
-
status: { type:
|
|
14
|
+
status: { type: 'active' },
|
|
12
15
|
explorer: {
|
|
13
|
-
url:
|
|
16
|
+
url: 'https://stellar.coin.ledger.com',
|
|
14
17
|
fetchLimit: 200,
|
|
15
18
|
},
|
|
16
19
|
useStaticFees: true,
|
|
17
20
|
enableNetworkLogs: false,
|
|
18
|
-
}) as StellarCoinConfig
|
|
21
|
+
}) as StellarCoinConfig
|
|
19
22
|
|
|
20
|
-
describe(
|
|
23
|
+
describe('getBlock (integration)', () => {
|
|
21
24
|
beforeAll(() => {
|
|
22
|
-
originalGetCoinConfig = coinConfig.getCoinConfig
|
|
23
|
-
coinConfig.setCoinConfig(mainnetConfig)
|
|
24
|
-
})
|
|
25
|
+
originalGetCoinConfig = coinConfig.getCoinConfig
|
|
26
|
+
coinConfig.setCoinConfig(mainnetConfig)
|
|
27
|
+
})
|
|
25
28
|
|
|
26
29
|
afterAll(() => {
|
|
27
30
|
if (originalGetCoinConfig) {
|
|
28
|
-
coinConfig.setCoinConfig(originalGetCoinConfig)
|
|
31
|
+
coinConfig.setCoinConfig(originalGetCoinConfig)
|
|
29
32
|
}
|
|
30
|
-
})
|
|
33
|
+
})
|
|
31
34
|
|
|
32
|
-
it(
|
|
33
|
-
const block = await getBlock(FIXED_LEDGER_SEQUENCE)
|
|
35
|
+
it('fetches ledger metadata and a known payment transaction', async () => {
|
|
36
|
+
const block = await getBlock(FIXED_LEDGER_SEQUENCE)
|
|
34
37
|
|
|
35
38
|
expect(block.info).toMatchObject({
|
|
36
39
|
height: FIXED_LEDGER_SEQUENCE,
|
|
37
|
-
hash:
|
|
38
|
-
time: new Date(
|
|
40
|
+
hash: '40b150c63d127e52264369090402565489350c7c62aaf59c6daa86be20b1bc90',
|
|
41
|
+
time: new Date('2018-09-15T15:40:05.000Z'),
|
|
39
42
|
parent: {
|
|
40
43
|
height: FIXED_LEDGER_SEQUENCE - 1,
|
|
41
|
-
hash:
|
|
44
|
+
hash: '6b94d006f60d2b927a7e13c8b127ca45f4357914f52ece5343ff362a1be91fb1',
|
|
42
45
|
},
|
|
43
|
-
})
|
|
46
|
+
})
|
|
44
47
|
|
|
45
48
|
const knownPayment = block.transactions.find(
|
|
46
|
-
tx => tx.hash ===
|
|
47
|
-
)
|
|
48
|
-
expect(knownPayment).
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
expect(knownPayment?.operations).toEqual(
|
|
52
|
-
expect.arrayContaining([
|
|
49
|
+
(tx) => tx.hash === 'efcffb9877c73e74a8c816f57fdeab578fb88646bfa7149399604b59f9ae9ff6'
|
|
50
|
+
)
|
|
51
|
+
expect(knownPayment).toMatchObject({
|
|
52
|
+
failed: false,
|
|
53
|
+
operations: expect.arrayContaining([
|
|
53
54
|
expect.objectContaining({
|
|
54
|
-
type:
|
|
55
|
-
address:
|
|
55
|
+
type: 'transfer',
|
|
56
|
+
address: 'GDL5OWCFRU6TJFZC6TRR5EJBWWFVGYAD3P2UKMF3P2JDKCDKHFM4AWES',
|
|
56
57
|
amount: -10000200n,
|
|
57
58
|
}),
|
|
58
59
|
expect.objectContaining({
|
|
59
|
-
type:
|
|
60
|
-
address:
|
|
60
|
+
type: 'transfer',
|
|
61
|
+
address: 'GBFLCCEXVXIONEMYTWCYJJFZN333CTFXGWJ23LACWLLQDFZSXBZRLHU5',
|
|
61
62
|
amount: 10000200n,
|
|
62
63
|
}),
|
|
63
64
|
]),
|
|
64
|
-
)
|
|
65
|
-
})
|
|
65
|
+
})
|
|
66
|
+
})
|
|
66
67
|
|
|
67
|
-
it(
|
|
68
|
-
const info = await getBlockInfo(FIXED_LEDGER_SEQUENCE)
|
|
69
|
-
const block = await getBlock(FIXED_LEDGER_SEQUENCE)
|
|
70
|
-
expect(info).toEqual(block.info)
|
|
71
|
-
})
|
|
72
|
-
})
|
|
68
|
+
it('returns consistent metadata between getBlockInfo and getBlock', async () => {
|
|
69
|
+
const info = await getBlockInfo(FIXED_LEDGER_SEQUENCE)
|
|
70
|
+
const block = await getBlock(FIXED_LEDGER_SEQUENCE)
|
|
71
|
+
expect(info).toEqual(block.info)
|
|
72
|
+
})
|
|
73
|
+
})
|