@sravankumar02/sdk-core 2.0.1 → 15.4.1
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/LICENSE +0 -0
- package/README.md +5 -5
- package/out/abi/argSerializer.d.ts +0 -0
- package/out/abi/argSerializer.js +0 -0
- package/out/abi/argSerializer.js.map +0 -0
- package/out/abi/argumentErrorContext.d.ts +0 -0
- package/out/abi/argumentErrorContext.js +0 -0
- package/out/abi/argumentErrorContext.js.map +0 -0
- package/out/abi/codec/address.d.ts +0 -0
- package/out/abi/codec/address.js +0 -0
- package/out/abi/codec/address.js.map +0 -0
- package/out/abi/codec/arrayVec.d.ts +0 -0
- package/out/abi/codec/arrayVec.js +0 -0
- package/out/abi/codec/arrayVec.js.map +0 -0
- package/out/abi/codec/binary.d.ts +0 -0
- package/out/abi/codec/binary.js +0 -0
- package/out/abi/codec/binary.js.map +1 -1
- package/out/abi/codec/binaryCodecUtils.d.ts +0 -0
- package/out/abi/codec/binaryCodecUtils.js +0 -0
- package/out/abi/codec/binaryCodecUtils.js.map +0 -0
- package/out/abi/codec/boolean.d.ts +0 -0
- package/out/abi/codec/boolean.js +0 -0
- package/out/abi/codec/boolean.js.map +0 -0
- package/out/abi/codec/bytes.d.ts +0 -0
- package/out/abi/codec/bytes.js +0 -0
- package/out/abi/codec/bytes.js.map +0 -0
- package/out/abi/codec/codemetadata.d.ts +0 -0
- package/out/abi/codec/codemetadata.js +0 -0
- package/out/abi/codec/codemetadata.js.map +0 -0
- package/out/abi/codec/constants.d.ts +0 -0
- package/out/abi/codec/constants.js +0 -0
- package/out/abi/codec/constants.js.map +0 -0
- package/out/abi/codec/enum.d.ts +0 -0
- package/out/abi/codec/enum.js +0 -0
- package/out/abi/codec/enum.js.map +0 -0
- package/out/abi/codec/explicit-enum.d.ts +0 -0
- package/out/abi/codec/explicit-enum.js +0 -0
- package/out/abi/codec/explicit-enum.js.map +0 -0
- package/out/abi/codec/fields.d.ts +0 -0
- package/out/abi/codec/fields.js +0 -0
- package/out/abi/codec/fields.js.map +0 -0
- package/out/abi/codec/h256.d.ts +0 -0
- package/out/abi/codec/h256.js +0 -0
- package/out/abi/codec/h256.js.map +0 -0
- package/out/abi/codec/index.d.ts +0 -0
- package/out/abi/codec/index.js +0 -0
- package/out/abi/codec/index.js.map +0 -0
- package/out/abi/codec/list.d.ts +0 -0
- package/out/abi/codec/list.js +0 -0
- package/out/abi/codec/list.js.map +0 -0
- package/out/abi/codec/managedDecimal.d.ts +0 -0
- package/out/abi/codec/managedDecimal.js +0 -0
- package/out/abi/codec/managedDecimal.js.map +0 -0
- package/out/abi/codec/managedDecimalSigned.d.ts +0 -0
- package/out/abi/codec/managedDecimalSigned.js +0 -0
- package/out/abi/codec/managedDecimalSigned.js.map +0 -0
- package/out/abi/codec/nothing.d.ts +0 -0
- package/out/abi/codec/nothing.js +0 -0
- package/out/abi/codec/nothing.js.map +0 -0
- package/out/abi/codec/numerical.d.ts +0 -0
- package/out/abi/codec/numerical.js +3 -3
- package/out/abi/codec/numerical.js.map +1 -1
- package/out/abi/codec/option.d.ts +0 -0
- package/out/abi/codec/option.js +0 -0
- package/out/abi/codec/option.js.map +0 -0
- package/out/abi/codec/primitive.d.ts +0 -0
- package/out/abi/codec/primitive.js +0 -0
- package/out/abi/codec/primitive.js.map +0 -0
- package/out/abi/codec/string.d.ts +0 -0
- package/out/abi/codec/string.js +0 -0
- package/out/abi/codec/string.js.map +0 -0
- package/out/abi/codec/struct.d.ts +0 -0
- package/out/abi/codec/struct.js +0 -0
- package/out/abi/codec/struct.js.map +0 -0
- package/out/abi/codec/tokenIdentifier.d.ts +0 -0
- package/out/abi/codec/tokenIdentifier.js +0 -0
- package/out/abi/codec/tokenIdentifier.js.map +0 -0
- package/out/abi/codec/tuple.d.ts +0 -0
- package/out/abi/codec/tuple.js +0 -0
- package/out/abi/codec/tuple.js.map +0 -0
- package/out/abi/codec/utils.d.ts +0 -0
- package/out/abi/codec/utils.js +0 -0
- package/out/abi/codec/utils.js.map +0 -0
- package/out/abi/function.d.ts +0 -0
- package/out/abi/function.js +0 -0
- package/out/abi/function.js.map +0 -0
- package/out/abi/index.d.ts +0 -0
- package/out/abi/index.js +0 -0
- package/out/abi/index.js.map +0 -0
- package/out/abi/interface.d.ts +0 -0
- package/out/abi/interface.js +0 -0
- package/out/abi/interface.js.map +0 -0
- package/out/abi/nativeSerializer.d.ts +0 -0
- package/out/abi/nativeSerializer.js +0 -0
- package/out/abi/nativeSerializer.js.map +0 -0
- package/out/abi/query.d.ts +0 -0
- package/out/abi/query.js +0 -0
- package/out/abi/query.js.map +0 -0
- package/out/abi/returnCode.d.ts +1 -1
- package/out/abi/returnCode.js +1 -1
- package/out/abi/returnCode.js.map +0 -0
- package/out/abi/typeFormula.d.ts +0 -0
- package/out/abi/typeFormula.js +0 -0
- package/out/abi/typeFormula.js.map +0 -0
- package/out/abi/typeFormulaParser.d.ts +0 -0
- package/out/abi/typeFormulaParser.js +0 -0
- package/out/abi/typeFormulaParser.js.map +0 -0
- package/out/abi/typesystem/abi.d.ts +0 -0
- package/out/abi/typesystem/abi.js +0 -0
- package/out/abi/typesystem/abi.js.map +0 -0
- package/out/abi/typesystem/address.d.ts +0 -0
- package/out/abi/typesystem/address.js +0 -0
- package/out/abi/typesystem/address.js.map +0 -0
- package/out/abi/typesystem/algebraic.d.ts +0 -0
- package/out/abi/typesystem/algebraic.js +0 -0
- package/out/abi/typesystem/algebraic.js.map +0 -0
- package/out/abi/typesystem/boolean.d.ts +0 -0
- package/out/abi/typesystem/boolean.js +0 -0
- package/out/abi/typesystem/boolean.js.map +0 -0
- package/out/abi/typesystem/bytes.d.ts +0 -0
- package/out/abi/typesystem/bytes.js +0 -0
- package/out/abi/typesystem/bytes.js.map +0 -0
- package/out/abi/typesystem/codeMetadata.d.ts +0 -0
- package/out/abi/typesystem/codeMetadata.js +0 -0
- package/out/abi/typesystem/codeMetadata.js.map +0 -0
- package/out/abi/typesystem/collections.d.ts +0 -0
- package/out/abi/typesystem/collections.js +0 -0
- package/out/abi/typesystem/collections.js.map +0 -0
- package/out/abi/typesystem/composite.d.ts +0 -0
- package/out/abi/typesystem/composite.js +0 -0
- package/out/abi/typesystem/composite.js.map +0 -0
- package/out/abi/typesystem/endpoint.d.ts +0 -0
- package/out/abi/typesystem/endpoint.js +0 -0
- package/out/abi/typesystem/endpoint.js.map +0 -0
- package/out/abi/typesystem/enum.d.ts +0 -0
- package/out/abi/typesystem/enum.js +0 -0
- package/out/abi/typesystem/enum.js.map +0 -0
- package/out/abi/typesystem/event.d.ts +0 -0
- package/out/abi/typesystem/event.js +0 -0
- package/out/abi/typesystem/event.js.map +0 -0
- package/out/abi/typesystem/explicit-enum.d.ts +0 -0
- package/out/abi/typesystem/explicit-enum.js +0 -0
- package/out/abi/typesystem/explicit-enum.js.map +0 -0
- package/out/abi/typesystem/factory.d.ts +0 -0
- package/out/abi/typesystem/factory.js +0 -0
- package/out/abi/typesystem/factory.js.map +0 -0
- package/out/abi/typesystem/fields.d.ts +0 -0
- package/out/abi/typesystem/fields.js +0 -0
- package/out/abi/typesystem/fields.js.map +0 -0
- package/out/abi/typesystem/generic.d.ts +0 -0
- package/out/abi/typesystem/generic.js +0 -0
- package/out/abi/typesystem/generic.js.map +0 -0
- package/out/abi/typesystem/genericArray.d.ts +0 -0
- package/out/abi/typesystem/genericArray.js +0 -0
- package/out/abi/typesystem/genericArray.js.map +0 -0
- package/out/abi/typesystem/h256.d.ts +0 -0
- package/out/abi/typesystem/h256.js +0 -0
- package/out/abi/typesystem/h256.js.map +0 -0
- package/out/abi/typesystem/index.d.ts +0 -0
- package/out/abi/typesystem/index.js +0 -0
- package/out/abi/typesystem/index.js.map +0 -0
- package/out/abi/typesystem/managedDecimal.d.ts +0 -0
- package/out/abi/typesystem/managedDecimal.js +0 -0
- package/out/abi/typesystem/managedDecimal.js.map +0 -0
- package/out/abi/typesystem/managedDecimalSigned.d.ts +0 -0
- package/out/abi/typesystem/managedDecimalSigned.js +0 -0
- package/out/abi/typesystem/managedDecimalSigned.js.map +0 -0
- package/out/abi/typesystem/matchers.d.ts +0 -0
- package/out/abi/typesystem/matchers.js +0 -0
- package/out/abi/typesystem/matchers.js.map +0 -0
- package/out/abi/typesystem/nothing.d.ts +0 -0
- package/out/abi/typesystem/nothing.js +0 -0
- package/out/abi/typesystem/nothing.js.map +0 -0
- package/out/abi/typesystem/numerical.d.ts +0 -0
- package/out/abi/typesystem/numerical.js +0 -0
- package/out/abi/typesystem/numerical.js.map +0 -0
- package/out/abi/typesystem/string.d.ts +0 -0
- package/out/abi/typesystem/string.js +0 -0
- package/out/abi/typesystem/string.js.map +0 -0
- package/out/abi/typesystem/struct.d.ts +0 -0
- package/out/abi/typesystem/struct.js +0 -0
- package/out/abi/typesystem/struct.js.map +0 -0
- package/out/abi/typesystem/tokenIdentifier.d.ts +0 -0
- package/out/abi/typesystem/tokenIdentifier.js +0 -0
- package/out/abi/typesystem/tokenIdentifier.js.map +0 -0
- package/out/abi/typesystem/tuple.d.ts +0 -0
- package/out/abi/typesystem/tuple.js +0 -0
- package/out/abi/typesystem/tuple.js.map +0 -0
- package/out/abi/typesystem/typeExpressionParser.d.ts +0 -0
- package/out/abi/typesystem/typeExpressionParser.js +0 -0
- package/out/abi/typesystem/typeExpressionParser.js.map +0 -0
- package/out/abi/typesystem/typeMapper.d.ts +0 -0
- package/out/abi/typesystem/typeMapper.js +0 -0
- package/out/abi/typesystem/typeMapper.js.map +0 -0
- package/out/abi/typesystem/types.d.ts +0 -0
- package/out/abi/typesystem/types.js +0 -0
- package/out/abi/typesystem/types.js.map +0 -0
- package/out/abi/typesystem/variadic.d.ts +0 -0
- package/out/abi/typesystem/variadic.js +0 -0
- package/out/abi/typesystem/variadic.js.map +0 -0
- package/out/accountManagement/accountController.d.ts +0 -0
- package/out/accountManagement/accountController.js +0 -0
- package/out/accountManagement/accountController.js.map +0 -0
- package/out/accountManagement/accountTransactionsFactory.d.ts +0 -0
- package/out/accountManagement/accountTransactionsFactory.js +0 -0
- package/out/accountManagement/accountTransactionsFactory.js.map +0 -0
- package/out/accountManagement/index.d.ts +0 -0
- package/out/accountManagement/index.js +0 -0
- package/out/accountManagement/index.js.map +0 -0
- package/out/accountManagement/resources.d.ts +0 -0
- package/out/accountManagement/resources.js +0 -0
- package/out/accountManagement/resources.js.map +0 -0
- package/out/accounts/account.d.ts +0 -0
- package/out/accounts/account.js +0 -0
- package/out/accounts/account.js.map +0 -0
- package/out/accounts/index.d.ts +0 -0
- package/out/accounts/index.js +0 -0
- package/out/accounts/index.js.map +0 -0
- package/out/core/address.d.ts +0 -0
- package/out/core/address.js +0 -0
- package/out/core/address.js.map +0 -0
- package/out/core/asyncTimer.d.ts +0 -0
- package/out/core/asyncTimer.js +0 -0
- package/out/core/asyncTimer.js.map +0 -0
- package/out/core/baseController.d.ts +0 -0
- package/out/core/baseController.js +0 -0
- package/out/core/baseController.js.map +0 -0
- package/out/core/baseFactory.d.ts +0 -0
- package/out/core/baseFactory.js +0 -0
- package/out/core/baseFactory.js.map +0 -0
- package/out/core/codeMetadata.d.ts +0 -0
- package/out/core/codeMetadata.js +0 -0
- package/out/core/codeMetadata.js.map +0 -0
- package/out/core/compatibility.d.ts +0 -0
- package/out/core/compatibility.js +0 -0
- package/out/core/compatibility.js.map +0 -0
- package/out/core/config.d.ts +0 -0
- package/out/core/config.js +0 -0
- package/out/core/config.js.map +0 -0
- package/out/core/constants.d.ts +3 -0
- package/out/core/constants.js +4 -1
- package/out/core/constants.js.map +1 -1
- package/out/core/errors.d.ts +0 -0
- package/out/core/errors.js +0 -0
- package/out/core/errors.js.map +0 -0
- package/out/core/globals.d.ts +0 -0
- package/out/core/globals.js +0 -0
- package/out/core/globals.js.map +0 -0
- package/out/core/index.d.ts +0 -0
- package/out/core/index.js +0 -0
- package/out/core/index.js.map +0 -0
- package/out/core/interfaces.d.ts +0 -0
- package/out/core/interfaces.js +0 -0
- package/out/core/interfaces.js.map +0 -0
- package/out/core/logger.d.ts +0 -0
- package/out/core/logger.js +0 -0
- package/out/core/logger.js.map +0 -0
- package/out/core/message.d.ts +0 -0
- package/out/core/message.js +0 -0
- package/out/core/message.js.map +0 -0
- package/out/core/networkParams.d.ts +0 -0
- package/out/core/networkParams.js +0 -0
- package/out/core/networkParams.js.map +0 -0
- package/out/core/reflection.d.ts +0 -0
- package/out/core/reflection.js +0 -0
- package/out/core/reflection.js.map +0 -0
- package/out/core/signature.d.ts +0 -0
- package/out/core/signature.js +0 -0
- package/out/core/signature.js.map +0 -0
- package/out/core/smartContractQuery.d.ts +0 -0
- package/out/core/smartContractQuery.js +0 -0
- package/out/core/smartContractQuery.js.map +0 -0
- package/out/core/tokenTransfersDataBuilder.d.ts +0 -0
- package/out/core/tokenTransfersDataBuilder.js +0 -0
- package/out/core/tokenTransfersDataBuilder.js.map +0 -0
- package/out/core/tokens.d.ts +0 -0
- package/out/core/tokens.js +0 -0
- package/out/core/tokens.js.map +0 -0
- package/out/core/transaction.d.ts +0 -0
- package/out/core/transaction.js +0 -0
- package/out/core/transaction.js.map +0 -0
- package/out/core/transactionComputer.d.ts +0 -0
- package/out/core/transactionComputer.js +0 -0
- package/out/core/transactionComputer.js.map +0 -0
- package/out/core/transactionEvents.d.ts +0 -0
- package/out/core/transactionEvents.js +0 -0
- package/out/core/transactionEvents.js.map +0 -0
- package/out/core/transactionLogs.d.ts +0 -0
- package/out/core/transactionLogs.js +0 -0
- package/out/core/transactionLogs.js.map +0 -0
- package/out/core/transactionOnNetwork.d.ts +0 -0
- package/out/core/transactionOnNetwork.js +0 -0
- package/out/core/transactionOnNetwork.js.map +0 -0
- package/out/core/transactionStatus.d.ts +5 -1
- package/out/core/transactionStatus.js +7 -1
- package/out/core/transactionStatus.js.map +1 -1
- package/out/core/transactionWatcher.d.ts +0 -0
- package/out/core/transactionWatcher.js +4 -3
- package/out/core/transactionWatcher.js.map +1 -1
- package/out/core/transactionsFactoryConfig.d.ts +0 -0
- package/out/core/transactionsFactoryConfig.js +0 -0
- package/out/core/transactionsFactoryConfig.js.map +0 -0
- package/out/core/utils.codec.d.ts +0 -0
- package/out/core/utils.codec.js +0 -0
- package/out/core/utils.codec.js.map +0 -0
- package/out/core/utils.d.ts +0 -0
- package/out/core/utils.js +0 -0
- package/out/core/utils.js.map +0 -0
- package/out/delegation/delegationController.d.ts +0 -0
- package/out/delegation/delegationController.js +0 -0
- package/out/delegation/delegationController.js.map +0 -0
- package/out/delegation/delegationTransactionsFactory.d.ts +0 -0
- package/out/delegation/delegationTransactionsFactory.js +0 -0
- package/out/delegation/delegationTransactionsFactory.js.map +0 -0
- package/out/delegation/delegationTransactionsOutcomeParser.d.ts +13 -0
- package/out/delegation/delegationTransactionsOutcomeParser.js +25 -0
- package/out/delegation/delegationTransactionsOutcomeParser.js.map +1 -1
- package/out/delegation/index.d.ts +0 -0
- package/out/delegation/index.js +0 -0
- package/out/delegation/index.js.map +0 -0
- package/out/delegation/resources.d.ts +0 -0
- package/out/delegation/resources.js +0 -0
- package/out/delegation/resources.js.map +0 -0
- package/out/entrypoints/config.d.ts +0 -0
- package/out/entrypoints/config.js +0 -0
- package/out/entrypoints/config.js.map +0 -0
- package/out/entrypoints/entrypoints.d.ts +0 -0
- package/out/entrypoints/entrypoints.js +0 -0
- package/out/entrypoints/entrypoints.js.map +0 -0
- package/out/entrypoints/index.d.ts +0 -0
- package/out/entrypoints/index.js +0 -0
- package/out/entrypoints/index.js.map +0 -0
- package/out/gasEstimator/gasLimitEstimator.d.ts +0 -0
- package/out/gasEstimator/gasLimitEstimator.js +0 -0
- package/out/gasEstimator/gasLimitEstimator.js.map +0 -0
- package/out/gasEstimator/index.d.ts +0 -0
- package/out/gasEstimator/index.js +0 -0
- package/out/gasEstimator/index.js.map +0 -0
- package/out/governance/governanceController.d.ts +0 -0
- package/out/governance/governanceController.js +0 -0
- package/out/governance/governanceController.js.map +0 -0
- package/out/governance/governanceTransactionsFactory.d.ts +0 -0
- package/out/governance/governanceTransactionsFactory.js +0 -0
- package/out/governance/governanceTransactionsFactory.js.map +0 -0
- package/out/governance/governanceTransactionsOutcomeParser.d.ts +0 -0
- package/out/governance/governanceTransactionsOutcomeParser.js +0 -0
- package/out/governance/governanceTransactionsOutcomeParser.js.map +0 -0
- package/out/governance/index.d.ts +0 -0
- package/out/governance/index.js +0 -0
- package/out/governance/index.js.map +0 -0
- package/out/governance/resources.d.ts +0 -0
- package/out/governance/resources.js +0 -0
- package/out/governance/resources.js.map +0 -0
- package/out/index.d.ts +0 -0
- package/out/index.js +0 -0
- package/out/index.js.map +0 -0
- package/out/multisig/index.d.ts +0 -0
- package/out/multisig/index.js +0 -0
- package/out/multisig/index.js.map +0 -0
- package/out/multisig/multisigController.d.ts +0 -0
- package/out/multisig/multisigController.js +0 -0
- package/out/multisig/multisigController.js.map +0 -0
- package/out/multisig/multisigTransactionsFactory.d.ts +0 -0
- package/out/multisig/multisigTransactionsFactory.js +0 -0
- package/out/multisig/multisigTransactionsFactory.js.map +0 -0
- package/out/multisig/multisigTransactionsOutcomeParser.d.ts +0 -0
- package/out/multisig/multisigTransactionsOutcomeParser.js +0 -0
- package/out/multisig/multisigTransactionsOutcomeParser.js.map +0 -0
- package/out/multisig/proposeTransferExecuteContractInput.d.ts +0 -0
- package/out/multisig/proposeTransferExecuteContractInput.js +0 -0
- package/out/multisig/proposeTransferExecuteContractInput.js.map +0 -0
- package/out/multisig/resources.d.ts +0 -0
- package/out/multisig/resources.js +0 -0
- package/out/multisig/resources.js.map +0 -0
- package/out/networkProviders/accountAwaiter.d.ts +0 -0
- package/out/networkProviders/accountAwaiter.js +0 -0
- package/out/networkProviders/accountAwaiter.js.map +0 -0
- package/out/networkProviders/accounts.d.ts +0 -0
- package/out/networkProviders/accounts.js +0 -0
- package/out/networkProviders/accounts.js.map +0 -0
- package/out/networkProviders/apiNetworkProvider.d.ts +0 -0
- package/out/networkProviders/apiNetworkProvider.js +0 -0
- package/out/networkProviders/apiNetworkProvider.js.map +0 -0
- package/out/networkProviders/blocks.d.ts +0 -0
- package/out/networkProviders/blocks.js +0 -0
- package/out/networkProviders/blocks.js.map +0 -0
- package/out/networkProviders/config.d.ts +0 -0
- package/out/networkProviders/config.js +0 -0
- package/out/networkProviders/config.js.map +0 -0
- package/out/networkProviders/constants.d.ts +1 -1
- package/out/networkProviders/constants.js +1 -1
- package/out/networkProviders/constants.js.map +1 -1
- package/out/networkProviders/contractQueryRequest.d.ts +0 -0
- package/out/networkProviders/contractQueryRequest.js +0 -0
- package/out/networkProviders/contractQueryRequest.js.map +0 -0
- package/out/networkProviders/index.d.ts +0 -0
- package/out/networkProviders/index.js +0 -0
- package/out/networkProviders/index.js.map +0 -0
- package/out/networkProviders/interface.d.ts +0 -0
- package/out/networkProviders/interface.js +0 -0
- package/out/networkProviders/interface.js.map +0 -0
- package/out/networkProviders/networkConfig.d.ts +0 -0
- package/out/networkProviders/networkConfig.js +0 -0
- package/out/networkProviders/networkConfig.js.map +0 -0
- package/out/networkProviders/networkProviderConfig.d.ts +0 -0
- package/out/networkProviders/networkProviderConfig.js +0 -0
- package/out/networkProviders/networkProviderConfig.js.map +0 -0
- package/out/networkProviders/networkStatus.d.ts +4 -0
- package/out/networkProviders/networkStatus.js +2 -0
- package/out/networkProviders/networkStatus.js.map +1 -1
- package/out/networkProviders/proxyNetworkProvider.d.ts +0 -0
- package/out/networkProviders/proxyNetworkProvider.js +0 -0
- package/out/networkProviders/proxyNetworkProvider.js.map +0 -0
- package/out/networkProviders/resources.d.ts +0 -0
- package/out/networkProviders/resources.js +0 -0
- package/out/networkProviders/resources.js.map +0 -0
- package/out/networkProviders/tokenDefinitions.d.ts +2 -2
- package/out/networkProviders/tokenDefinitions.js +2 -2
- package/out/networkProviders/tokenDefinitions.js.map +0 -0
- package/out/networkProviders/tokens.d.ts +1 -1
- package/out/networkProviders/tokens.js +11 -14
- package/out/networkProviders/tokens.js.map +1 -1
- package/out/networkProviders/userAgent.d.ts +0 -0
- package/out/networkProviders/userAgent.js +0 -0
- package/out/networkProviders/userAgent.js.map +0 -0
- package/out/proto/compiled.d.ts +0 -0
- package/out/proto/compiled.js +0 -0
- package/out/proto/compiled.js.map +0 -0
- package/out/proto/index.d.ts +0 -0
- package/out/proto/index.js +0 -0
- package/out/proto/index.js.map +0 -0
- package/out/proto/serializer.d.ts +0 -0
- package/out/proto/serializer.js +0 -0
- package/out/proto/serializer.js.map +0 -0
- package/out/smartContracts/index.d.ts +0 -0
- package/out/smartContracts/index.js +0 -0
- package/out/smartContracts/index.js.map +0 -0
- package/out/smartContracts/resources.d.ts +0 -0
- package/out/smartContracts/resources.js +0 -0
- package/out/smartContracts/resources.js.map +0 -0
- package/out/smartContracts/smartContractController.d.ts +0 -0
- package/out/smartContracts/smartContractController.js +0 -0
- package/out/smartContracts/smartContractController.js.map +0 -0
- package/out/smartContracts/smartContractTransactionsFactory.d.ts +0 -0
- package/out/smartContracts/smartContractTransactionsFactory.js +0 -0
- package/out/smartContracts/smartContractTransactionsFactory.js.map +0 -0
- package/out/smartContracts/smartContractTransactionsOutcomeParser.d.ts +0 -0
- package/out/smartContracts/smartContractTransactionsOutcomeParser.js +0 -0
- package/out/smartContracts/smartContractTransactionsOutcomeParser.js.map +0 -0
- package/out/tokenManagement/index.d.ts +0 -0
- package/out/tokenManagement/index.js +0 -0
- package/out/tokenManagement/index.js.map +0 -0
- package/out/tokenManagement/resources.d.ts +0 -0
- package/out/tokenManagement/resources.js +0 -0
- package/out/tokenManagement/resources.js.map +0 -0
- package/out/tokenManagement/tokenManagementController.d.ts +0 -0
- package/out/tokenManagement/tokenManagementController.js +0 -0
- package/out/tokenManagement/tokenManagementController.js.map +0 -0
- package/out/tokenManagement/tokenManagementTransactionsFactory.d.ts +0 -0
- package/out/tokenManagement/tokenManagementTransactionsFactory.js +0 -0
- package/out/tokenManagement/tokenManagementTransactionsFactory.js.map +0 -0
- package/out/tokenManagement/tokenManagementTransactionsOutcomeParser.d.ts +0 -0
- package/out/tokenManagement/tokenManagementTransactionsOutcomeParser.js +0 -0
- package/out/tokenManagement/tokenManagementTransactionsOutcomeParser.js.map +0 -0
- package/out/tokenOperations/codec.d.ts +0 -0
- package/out/tokenOperations/codec.js +0 -0
- package/out/tokenOperations/codec.js.map +0 -0
- package/out/transactionsOutcomeParsers/index.d.ts +0 -0
- package/out/transactionsOutcomeParsers/index.js +0 -0
- package/out/transactionsOutcomeParsers/index.js.map +0 -0
- package/out/transactionsOutcomeParsers/resources.d.ts +0 -0
- package/out/transactionsOutcomeParsers/resources.js +0 -0
- package/out/transactionsOutcomeParsers/resources.js.map +0 -0
- package/out/transactionsOutcomeParsers/transactionEventsParser.d.ts +0 -0
- package/out/transactionsOutcomeParsers/transactionEventsParser.js +2 -2
- package/out/transactionsOutcomeParsers/transactionEventsParser.js.map +1 -1
- package/out/transfers/index.d.ts +0 -0
- package/out/transfers/index.js +0 -0
- package/out/transfers/index.js.map +0 -0
- package/out/transfers/resources.d.ts +0 -0
- package/out/transfers/resources.js +0 -0
- package/out/transfers/resources.js.map +0 -0
- package/out/transfers/transferTransactionsFactory.d.ts +0 -0
- package/out/transfers/transferTransactionsFactory.js +0 -0
- package/out/transfers/transferTransactionsFactory.js.map +0 -0
- package/out/transfers/transfersControllers.d.ts +0 -0
- package/out/transfers/transfersControllers.js +0 -0
- package/out/transfers/transfersControllers.js.map +0 -0
- package/out/validators/index.d.ts +0 -0
- package/out/validators/index.js +0 -0
- package/out/validators/index.js.map +0 -0
- package/out/validators/resources.d.ts +0 -0
- package/out/validators/resources.js +0 -0
- package/out/validators/resources.js.map +0 -0
- package/out/validators/validatorsController.d.ts +0 -0
- package/out/validators/validatorsController.js +0 -0
- package/out/validators/validatorsController.js.map +0 -0
- package/out/validators/validatorsSigner.d.ts +0 -0
- package/out/validators/validatorsSigner.js +0 -0
- package/out/validators/validatorsSigner.js.map +0 -0
- package/out/validators/validatorsTransactionsFactory.d.ts +0 -0
- package/out/validators/validatorsTransactionsFactory.js +0 -0
- package/out/validators/validatorsTransactionsFactory.js.map +0 -0
- package/out/wallet/assertions.d.ts +0 -0
- package/out/wallet/assertions.js +0 -0
- package/out/wallet/assertions.js.map +0 -0
- package/out/wallet/crypto/constants.d.ts +0 -0
- package/out/wallet/crypto/constants.js +0 -0
- package/out/wallet/crypto/constants.js.map +0 -0
- package/out/wallet/crypto/decryptor.d.ts +0 -0
- package/out/wallet/crypto/decryptor.js +0 -0
- package/out/wallet/crypto/decryptor.js.map +0 -0
- package/out/wallet/crypto/derivationParams.d.ts +0 -0
- package/out/wallet/crypto/derivationParams.js +0 -0
- package/out/wallet/crypto/derivationParams.js.map +0 -0
- package/out/wallet/crypto/encryptedData.d.ts +0 -0
- package/out/wallet/crypto/encryptedData.js +0 -0
- package/out/wallet/crypto/encryptedData.js.map +0 -0
- package/out/wallet/crypto/encryptor.d.ts +0 -0
- package/out/wallet/crypto/encryptor.js +0 -0
- package/out/wallet/crypto/encryptor.js.map +0 -0
- package/out/wallet/crypto/index.d.ts +0 -0
- package/out/wallet/crypto/index.js +0 -0
- package/out/wallet/crypto/index.js.map +0 -0
- package/out/wallet/crypto/pubkeyDecryptor.d.ts +0 -0
- package/out/wallet/crypto/pubkeyDecryptor.js +0 -0
- package/out/wallet/crypto/pubkeyDecryptor.js.map +0 -0
- package/out/wallet/crypto/pubkeyEncryptor.d.ts +0 -0
- package/out/wallet/crypto/pubkeyEncryptor.js +0 -0
- package/out/wallet/crypto/pubkeyEncryptor.js.map +0 -0
- package/out/wallet/crypto/randomness.d.ts +0 -0
- package/out/wallet/crypto/randomness.js +0 -0
- package/out/wallet/crypto/randomness.js.map +0 -0
- package/out/wallet/crypto/x25519EncryptedData.d.ts +0 -0
- package/out/wallet/crypto/x25519EncryptedData.js +0 -0
- package/out/wallet/crypto/x25519EncryptedData.js.map +0 -0
- package/out/wallet/index.d.ts +0 -0
- package/out/wallet/index.js +0 -0
- package/out/wallet/index.js.map +0 -0
- package/out/wallet/keypair.d.ts +0 -0
- package/out/wallet/keypair.js +0 -0
- package/out/wallet/keypair.js.map +0 -0
- package/out/wallet/mnemonic.d.ts +0 -0
- package/out/wallet/mnemonic.js +0 -0
- package/out/wallet/mnemonic.js.map +0 -0
- package/out/wallet/pem.d.ts +0 -0
- package/out/wallet/pem.js +0 -0
- package/out/wallet/pem.js.map +0 -0
- package/out/wallet/pemEntry.d.ts +0 -0
- package/out/wallet/pemEntry.js +0 -0
- package/out/wallet/pemEntry.js.map +0 -0
- package/out/wallet/userKeys.d.ts +0 -0
- package/out/wallet/userKeys.js +0 -0
- package/out/wallet/userKeys.js.map +0 -0
- package/out/wallet/userPem.d.ts +0 -0
- package/out/wallet/userPem.js +0 -0
- package/out/wallet/userPem.js.map +0 -0
- package/out/wallet/userSigner.d.ts +0 -0
- package/out/wallet/userSigner.js +0 -0
- package/out/wallet/userSigner.js.map +0 -0
- package/out/wallet/userVerifier.d.ts +0 -0
- package/out/wallet/userVerifier.js +0 -0
- package/out/wallet/userVerifier.js.map +0 -0
- package/out/wallet/userWallet.d.ts +1 -1
- package/out/wallet/userWallet.js +1 -1
- package/out/wallet/userWallet.js.map +0 -0
- package/out/wallet/validatorKeys.d.ts +0 -0
- package/out/wallet/validatorKeys.js +2 -2
- package/out/wallet/validatorKeys.js.map +1 -1
- package/out/wallet/validatorPem.d.ts +0 -0
- package/out/wallet/validatorPem.js +0 -0
- package/out/wallet/validatorPem.js.map +0 -0
- package/out/wallet/validatorSigner.d.ts +0 -0
- package/out/wallet/validatorSigner.js +0 -0
- package/out/wallet/validatorSigner.js.map +0 -0
- package/package.json +13 -14
|
File without changes
|
package/out/index.d.ts
CHANGED
|
File without changes
|
package/out/index.js
CHANGED
|
File without changes
|
package/out/index.js.map
CHANGED
|
File without changes
|
package/out/multisig/index.d.ts
CHANGED
|
File without changes
|
package/out/multisig/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -4,6 +4,6 @@ export declare const MaxUint64AsBigNumber: BigNumber;
|
|
|
4
4
|
export declare const DcdtContractAddress: Address;
|
|
5
5
|
export declare const BaseUserAgent = "dharitri-sdk";
|
|
6
6
|
export declare const UnknownClientName = "unknown";
|
|
7
|
-
export declare const DEFAULT_ACCOUNT_AWAITING_POLLING_TIMEOUT_IN_MILLISECONDS =
|
|
7
|
+
export declare const DEFAULT_ACCOUNT_AWAITING_POLLING_TIMEOUT_IN_MILLISECONDS = 600;
|
|
8
8
|
export declare const DEFAULT_ACCOUNT_AWAITING_TIMEOUT_IN_MILLISECONDS: number;
|
|
9
9
|
export declare const DEFAULT_ACCOUNT_AWAITING_PATIENCE_IN_MILLISECONDS = 0;
|
|
@@ -10,7 +10,7 @@ exports.MaxUint64AsBigNumber = new bignumber_js_1.default("18446744073709551615"
|
|
|
10
10
|
exports.DcdtContractAddress = new address_1.Address("drt1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls6prdez");
|
|
11
11
|
exports.BaseUserAgent = "dharitri-sdk";
|
|
12
12
|
exports.UnknownClientName = "unknown";
|
|
13
|
-
exports.DEFAULT_ACCOUNT_AWAITING_POLLING_TIMEOUT_IN_MILLISECONDS =
|
|
13
|
+
exports.DEFAULT_ACCOUNT_AWAITING_POLLING_TIMEOUT_IN_MILLISECONDS = 600;
|
|
14
14
|
exports.DEFAULT_ACCOUNT_AWAITING_TIMEOUT_IN_MILLISECONDS = 15 * exports.DEFAULT_ACCOUNT_AWAITING_POLLING_TIMEOUT_IN_MILLISECONDS;
|
|
15
15
|
exports.DEFAULT_ACCOUNT_AWAITING_PATIENCE_IN_MILLISECONDS = 0;
|
|
16
16
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/networkProviders/constants.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AACrC,6CAA0C;AAE7B,QAAA,oBAAoB,GAAG,IAAI,sBAAS,CAAC,sBAAsB,CAAC,CAAC;AAC7D,QAAA,mBAAmB,GAAG,IAAI,iBAAO,CAAC,gEAAgE,CAAC,CAAC;AACpG,QAAA,aAAa,GAAG,cAAc,CAAC;AAC/B,QAAA,iBAAiB,GAAG,SAAS,CAAC;AAE9B,QAAA,wDAAwD,GAAG,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/networkProviders/constants.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AACrC,6CAA0C;AAE7B,QAAA,oBAAoB,GAAG,IAAI,sBAAS,CAAC,sBAAsB,CAAC,CAAC;AAC7D,QAAA,mBAAmB,GAAG,IAAI,iBAAO,CAAC,gEAAgE,CAAC,CAAC;AACpG,QAAA,aAAa,GAAG,cAAc,CAAC;AAC/B,QAAA,iBAAiB,GAAG,SAAS,CAAC;AAE9B,QAAA,wDAAwD,GAAG,GAAG,CAAC;AAC/D,QAAA,gDAAgD,GACzD,EAAE,GAAG,gEAAwD,CAAC;AACrD,QAAA,iDAAiD,GAAG,CAAC,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,6 +12,7 @@ class NetworkStatus {
|
|
|
12
12
|
this.highestFinalNonce = 0n;
|
|
13
13
|
this.blockNonce = 0n;
|
|
14
14
|
this.blockTimestamp = 0;
|
|
15
|
+
this.blockTimestampMs = 0;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
17
18
|
* Constructs a configuration object from a HTTP response (as returned by the provider).
|
|
@@ -24,6 +25,7 @@ class NetworkStatus {
|
|
|
24
25
|
networkStatus.highestFinalNonce = BigInt(payload["drt_highest_final_nonce"]);
|
|
25
26
|
networkStatus.blockNonce = BigInt(payload["drt_nonce"]);
|
|
26
27
|
networkStatus.blockTimestamp = Number(payload["drt_block_timestamp"]);
|
|
28
|
+
networkStatus.blockTimestampMs = Number(payload["drt_block_timestamp_ms"]);
|
|
27
29
|
return networkStatus;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkStatus.js","sourceRoot":"","sources":["../../src/networkProviders/networkStatus.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"networkStatus.js","sourceRoot":"","sources":["../../src/networkProviders/networkStatus.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,aAAa;IAiCtB;QAhCA,QAAG,GAAwB,EAAE,CAAC;QAiC1B,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QACtB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,OAAY;QAChC,IAAI,aAAa,GAAG,IAAI,aAAa,EAAE,CAAC;QAExC,aAAa,CAAC,GAAG,GAAG,OAAO,CAAC;QAC5B,aAAa,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;QAClE,aAAa,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;QACjE,aAAa,CAAC,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;QAC7E,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;QACxD,aAAa,CAAC,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;QACtE,aAAa,CAAC,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;QAE3E,OAAO,aAAa,CAAC;IACzB,CAAC;CACJ;AA1DD,sCA0DC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -21,7 +21,7 @@ export declare class DefinitionOfFungibleTokenOnNetwork {
|
|
|
21
21
|
static fromApiHttpResponse(payload: any): DefinitionOfFungibleTokenOnNetwork;
|
|
22
22
|
/**
|
|
23
23
|
* The implementation has been moved here from the following location:
|
|
24
|
-
* https://github.com/
|
|
24
|
+
* https://github.com/DharitriCore/drt-js-sdk-core/blob/release/v9/src/token.ts
|
|
25
25
|
*/
|
|
26
26
|
static fromResponseOfGetTokenProperties(identifier: string, data: Buffer[]): DefinitionOfFungibleTokenOnNetwork;
|
|
27
27
|
}
|
|
@@ -43,7 +43,7 @@ export declare class DefinitionOfTokenCollectionOnNetwork {
|
|
|
43
43
|
static fromApiHttpResponse(payload: any): DefinitionOfTokenCollectionOnNetwork;
|
|
44
44
|
/**
|
|
45
45
|
* The implementation has been moved here from the following location:
|
|
46
|
-
* https://github.com/
|
|
46
|
+
* https://github.com/DharitriCore/drt-js-sdk-core/blob/release/v9/src/token.ts
|
|
47
47
|
*/
|
|
48
48
|
static fromResponseOfGetTokenProperties(collection: string, data: Buffer[]): DefinitionOfTokenCollectionOnNetwork;
|
|
49
49
|
}
|
|
@@ -46,7 +46,7 @@ class DefinitionOfFungibleTokenOnNetwork {
|
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
48
|
* The implementation has been moved here from the following location:
|
|
49
|
-
* https://github.com/
|
|
49
|
+
* https://github.com/DharitriCore/drt-js-sdk-core/blob/release/v9/src/token.ts
|
|
50
50
|
*/
|
|
51
51
|
static fromResponseOfGetTokenProperties(identifier, data) {
|
|
52
52
|
let result = new DefinitionOfFungibleTokenOnNetwork();
|
|
@@ -105,7 +105,7 @@ class DefinitionOfTokenCollectionOnNetwork {
|
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* The implementation has been moved here from the following location:
|
|
108
|
-
* https://github.com/
|
|
108
|
+
* https://github.com/DharitriCore/drt-js-sdk-core/blob/release/v9/src/token.ts
|
|
109
109
|
*/
|
|
110
110
|
static fromResponseOfGetTokenProperties(collection, data) {
|
|
111
111
|
let result = new DefinitionOfTokenCollectionOnNetwork();
|
|
File without changes
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.TokenAmountOnNetwork = exports.NonFungibleTokenOfAccountOnNetwork = exports.FungibleTokenOfAccountOnNetwork = void 0;
|
|
7
|
-
const bignumber_js_1 =
|
|
4
|
+
const bignumber_js_1 = require("bignumber.js");
|
|
8
5
|
const core_1 = require("../core");
|
|
9
6
|
const utils_codec_1 = require("../core/utils.codec");
|
|
10
7
|
class FungibleTokenOfAccountOnNetwork {
|
|
11
8
|
constructor() {
|
|
12
9
|
this.identifier = "";
|
|
13
|
-
this.balance = new bignumber_js_1.
|
|
10
|
+
this.balance = new bignumber_js_1.BigNumber(0);
|
|
14
11
|
this.rawResponse = {};
|
|
15
12
|
}
|
|
16
13
|
static fromHttpResponse(payload) {
|
|
17
14
|
let result = new FungibleTokenOfAccountOnNetwork();
|
|
18
15
|
result.identifier = payload.tokenIdentifier || payload.identifier || "";
|
|
19
|
-
result.balance = new bignumber_js_1.
|
|
16
|
+
result.balance = new bignumber_js_1.BigNumber(payload.balance || 0);
|
|
20
17
|
result.rawResponse = payload;
|
|
21
18
|
return result;
|
|
22
19
|
}
|
|
@@ -32,18 +29,18 @@ class NonFungibleTokenOfAccountOnNetwork {
|
|
|
32
29
|
this.type = "";
|
|
33
30
|
this.name = "";
|
|
34
31
|
this.creator = core_1.Address.empty();
|
|
35
|
-
this.supply = new bignumber_js_1.
|
|
32
|
+
this.supply = new bignumber_js_1.BigNumber(0);
|
|
36
33
|
this.decimals = 0;
|
|
37
|
-
this.royalties = new bignumber_js_1.
|
|
34
|
+
this.royalties = new bignumber_js_1.BigNumber(0);
|
|
38
35
|
this.assets = [];
|
|
39
|
-
this.balance = new bignumber_js_1.
|
|
36
|
+
this.balance = new bignumber_js_1.BigNumber(0);
|
|
40
37
|
Object.assign(this, init);
|
|
41
38
|
}
|
|
42
39
|
static fromProxyHttpResponse(payload) {
|
|
43
40
|
const result = NonFungibleTokenOfAccountOnNetwork.fromHttpResponse(payload);
|
|
44
41
|
result.identifier = payload.tokenIdentifier || "";
|
|
45
42
|
result.collection = NonFungibleTokenOfAccountOnNetwork.parseCollectionFromIdentifier(result.identifier);
|
|
46
|
-
result.royalties = new bignumber_js_1.
|
|
43
|
+
result.royalties = new bignumber_js_1.BigNumber(payload.royalties || 0).div(100);
|
|
47
44
|
return result;
|
|
48
45
|
}
|
|
49
46
|
static fromProxyHttpResponseByNonce(payload) {
|
|
@@ -51,7 +48,7 @@ class NonFungibleTokenOfAccountOnNetwork {
|
|
|
51
48
|
let nonceAsHex = utils_codec_1.numberToPaddedHex(result.nonce);
|
|
52
49
|
result.identifier = `${payload.tokenIdentifier}-${nonceAsHex}`;
|
|
53
50
|
result.collection = payload.tokenIdentifier || "";
|
|
54
|
-
result.royalties = new bignumber_js_1.
|
|
51
|
+
result.royalties = new bignumber_js_1.BigNumber(payload.royalties || 0).div(100);
|
|
55
52
|
return result;
|
|
56
53
|
}
|
|
57
54
|
static fromApiHttpResponse(payload) {
|
|
@@ -70,10 +67,10 @@ class NonFungibleTokenOfAccountOnNetwork {
|
|
|
70
67
|
result.name = payload.name || "";
|
|
71
68
|
result.creator = new core_1.Address(payload.creator || "");
|
|
72
69
|
result.decimals = Number(payload.decimals || 0);
|
|
73
|
-
result.supply = new bignumber_js_1.
|
|
74
|
-
result.royalties = new bignumber_js_1.
|
|
70
|
+
result.supply = new bignumber_js_1.BigNumber(payload.balance || 1);
|
|
71
|
+
result.royalties = new bignumber_js_1.BigNumber(payload.royalties || 0);
|
|
75
72
|
result.assets = payload.assets || [];
|
|
76
|
-
result.balance = new bignumber_js_1.
|
|
73
|
+
result.balance = new bignumber_js_1.BigNumber(payload.balance || 1);
|
|
77
74
|
return result;
|
|
78
75
|
}
|
|
79
76
|
static parseCollectionFromIdentifier(identifier) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/networkProviders/tokens.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/networkProviders/tokens.ts"],"names":[],"mappings":";;;AAAA,+CAAyC;AACzC,kCAAyC;AACzC,qDAAwD;AAGxD,MAAa,+BAA+B;IAA5C;QACI,eAAU,GAAW,EAAE,CAAC;QACxB,YAAO,GAAc,IAAI,wBAAS,CAAC,CAAC,CAAC,CAAC;QACtC,gBAAW,GAAQ,EAAE,CAAC;IAW1B,CAAC;IATG,MAAM,CAAC,gBAAgB,CAAC,OAAY;QAChC,IAAI,MAAM,GAAG,IAAI,+BAA+B,EAAE,CAAC;QAEnD,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC;QACxE,MAAM,CAAC,OAAO,GAAG,IAAI,wBAAS,CAAC,OAAO,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;QACrD,MAAM,CAAC,WAA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AChD,MAAM,CAAC,KAAK,GAAG,IAAI,YAAK,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAEzG,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,CAAC,eAAe,CAAC,OAAY;QAC/B,MAAM,MAAM,GAAG,IAAI,oBAAoB,EAAE,CAAC;QAE1C,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC;QACrB,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QAChD,MAAM,CAAC,KAAK,GAAG,IAAI,YAAK,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAEpG,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AA7BD,oDA6BC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/out/proto/compiled.d.ts
CHANGED
|
File without changes
|
package/out/proto/compiled.js
CHANGED
|
File without changes
|
|
File without changes
|
package/out/proto/index.d.ts
CHANGED
|
File without changes
|
package/out/proto/index.js
CHANGED
|
File without changes
|
package/out/proto/index.js.map
CHANGED
|
File without changes
|
|
File without changes
|
package/out/proto/serializer.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -7,8 +7,8 @@ class TransactionEventsParser {
|
|
|
7
7
|
this.abi = options.abi;
|
|
8
8
|
// By default, we consider that the first topic is the event identifier.
|
|
9
9
|
// This is true for log entries emitted by smart contracts:
|
|
10
|
-
// https://github.com/
|
|
11
|
-
// https://github.com/
|
|
10
|
+
// https://github.com/DharitriCore/drt-go-chain-vm/blob/v1.5.27/vmhost/contexts/output.go#L270
|
|
11
|
+
// https://github.com/DharitriCore/drt-go-chain-vm/blob/v1.5.27/vmhost/contexts/output.go#L283
|
|
12
12
|
this.firstTopicIsIdentifier = options.firstTopicIsIdentifier ?? true;
|
|
13
13
|
}
|
|
14
14
|
parseEvents(options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionEventsParser.js","sourceRoot":"","sources":["../../src/transactionsOutcomeParsers/transactionEventsParser.ts"],"names":[],"mappings":";;;AAAA,gCAA4C;AAG5C,MAAa,uBAAuB;IAIhC,YAAY,OAAuD;QAC/D,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;QAEvB,wEAAwE;QACxE,2DAA2D;QAC3D
|
|
1
|
+
{"version":3,"file":"transactionEventsParser.js","sourceRoot":"","sources":["../../src/transactionsOutcomeParsers/transactionEventsParser.ts"],"names":[],"mappings":";;;AAAA,gCAA4C;AAG5C,MAAa,uBAAuB;IAIhC,YAAY,OAAuD;QAC/D,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;QAEvB,wEAAwE;QACxE,2DAA2D;QAC3D,8FAA8F;QAC9F,8FAA8F;QAC9F,IAAI,CAAC,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,IAAI,IAAI,CAAC;IACzE,CAAC;IAED,WAAW,CAAC,OAAuC;QAC/C,MAA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G,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC3C,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;SAC9D;QAED,+DAA+D;QAC/D,MAAM,gBAAgB,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAuB,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACpG,MAAM,gBAAgB,GAAG,cAAc,CAAC,eAAe,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;QACrF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC9C,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC;SACrE;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AAvDD,0DAuDC"}
|
package/out/transfers/index.d.ts
CHANGED
|
File without changes
|
package/out/transfers/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/out/validators/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/out/wallet/assertions.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|