@wallfree-dev/tezos 0.13.42
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.md +7 -0
- package/index.d.ts +1 -0
- package/index.js +18 -0
- package/index.js.map +1 -0
- package/package.json +70 -0
- package/readme.md +121 -0
- package/v0/actions/GetKtAccountsAction.d.ts +8 -0
- package/v0/actions/GetKtAccountsAction.js +87 -0
- package/v0/actions/GetKtAccountsAction.js.map +1 -0
- package/v0/constants.d.ts +18 -0
- package/v0/constants.js +28 -0
- package/v0/constants.js.map +1 -0
- package/v0/index.d.ts +47 -0
- package/v0/index.js +148 -0
- package/v0/index.js.map +1 -0
- package/v0/protocol/TezosAddress.d.ts +11 -0
- package/v0/protocol/TezosAddress.js +107 -0
- package/v0/protocol/TezosAddress.js.map +1 -0
- package/v0/protocol/TezosCryptoClient.d.ts +15 -0
- package/v0/protocol/TezosCryptoClient.js +160 -0
- package/v0/protocol/TezosCryptoClient.js.map +1 -0
- package/v0/protocol/TezosProtocol.d.ts +342 -0
- package/v0/protocol/TezosProtocol.js +1750 -0
- package/v0/protocol/TezosProtocol.js.map +1 -0
- package/v0/protocol/TezosProtocolOptions.d.ts +29 -0
- package/v0/protocol/TezosProtocolOptions.js +116 -0
- package/v0/protocol/TezosProtocolOptions.js.map +1 -0
- package/v0/protocol/TezosUtils.d.ts +40 -0
- package/v0/protocol/TezosUtils.js +301 -0
- package/v0/protocol/TezosUtils.js.map +1 -0
- package/v0/protocol/contract/TezosContract.d.ts +52 -0
- package/v0/protocol/contract/TezosContract.js +508 -0
- package/v0/protocol/contract/TezosContract.js.map +1 -0
- package/v0/protocol/contract/TezosContractCall.d.ts +11 -0
- package/v0/protocol/contract/TezosContractCall.js +23 -0
- package/v0/protocol/contract/TezosContractCall.js.map +1 -0
- package/v0/protocol/contract/TezosContractEntrypoint.d.ts +8 -0
- package/v0/protocol/contract/TezosContractEntrypoint.js +27 -0
- package/v0/protocol/contract/TezosContractEntrypoint.js.map +1 -0
- package/v0/protocol/contract/TezosContractStorage.d.ts +7 -0
- package/v0/protocol/contract/TezosContractStorage.js +16 -0
- package/v0/protocol/contract/TezosContractStorage.js.map +1 -0
- package/v0/protocol/contract/remote-data/TezosContractRemoteDataFactory.d.ts +11 -0
- package/v0/protocol/contract/remote-data/TezosContractRemoteDataFactory.js +36 -0
- package/v0/protocol/contract/remote-data/TezosContractRemoteDataFactory.js.map +1 -0
- package/v0/protocol/contract/remote-data/TezosStorageRemoteData.d.ts +12 -0
- package/v0/protocol/contract/remote-data/TezosStorageRemoteData.js +152 -0
- package/v0/protocol/contract/remote-data/TezosStorageRemoteData.js.map +1 -0
- package/v0/protocol/domains/TezosDomains.d.ts +20 -0
- package/v0/protocol/domains/TezosDomains.js +310 -0
- package/v0/protocol/domains/TezosDomains.js.map +1 -0
- package/v0/protocol/fa/TezosBTC.d.ts +12 -0
- package/v0/protocol/fa/TezosBTC.js +109 -0
- package/v0/protocol/fa/TezosBTC.js.map +1 -0
- package/v0/protocol/fa/TezosBTCtez.d.ts +10 -0
- package/v0/protocol/fa/TezosBTCtez.js +56 -0
- package/v0/protocol/fa/TezosBTCtez.js.map +1 -0
- package/v0/protocol/fa/TezosCTez.d.ts +10 -0
- package/v0/protocol/fa/TezosCTez.js +53 -0
- package/v0/protocol/fa/TezosCTez.js.map +1 -0
- package/v0/protocol/fa/TezosDOGA.d.ts +10 -0
- package/v0/protocol/fa/TezosDOGA.js +53 -0
- package/v0/protocol/fa/TezosDOGA.js.map +1 -0
- package/v0/protocol/fa/TezosETHtz.d.ts +9 -0
- package/v0/protocol/fa/TezosETHtz.js +74 -0
- package/v0/protocol/fa/TezosETHtz.js.map +1 -0
- package/v0/protocol/fa/TezosFA1Protocol.d.ts +27 -0
- package/v0/protocol/fa/TezosFA1Protocol.js +312 -0
- package/v0/protocol/fa/TezosFA1Protocol.js.map +1 -0
- package/v0/protocol/fa/TezosFA1p2Protocol.d.ts +8 -0
- package/v0/protocol/fa/TezosFA1p2Protocol.js +119 -0
- package/v0/protocol/fa/TezosFA1p2Protocol.js.map +1 -0
- package/v0/protocol/fa/TezosFA2Protocol.d.ts +58 -0
- package/v0/protocol/fa/TezosFA2Protocol.js +452 -0
- package/v0/protocol/fa/TezosFA2Protocol.js.map +1 -0
- package/v0/protocol/fa/TezosFAProtocol.d.ts +65 -0
- package/v0/protocol/fa/TezosFAProtocol.js +455 -0
- package/v0/protocol/fa/TezosFAProtocol.js.map +1 -0
- package/v0/protocol/fa/TezosFAProtocolOptions.d.ts +54 -0
- package/v0/protocol/fa/TezosFAProtocolOptions.js +230 -0
- package/v0/protocol/fa/TezosFAProtocolOptions.js.map +1 -0
- package/v0/protocol/fa/TezosKolibriUSD.d.ts +10 -0
- package/v0/protocol/fa/TezosKolibriUSD.js +76 -0
- package/v0/protocol/fa/TezosKolibriUSD.js.map +1 -0
- package/v0/protocol/fa/TezosPlanty.d.ts +10 -0
- package/v0/protocol/fa/TezosPlanty.js +53 -0
- package/v0/protocol/fa/TezosPlanty.js.map +1 -0
- package/v0/protocol/fa/TezosQUIPU.d.ts +10 -0
- package/v0/protocol/fa/TezosQUIPU.js +56 -0
- package/v0/protocol/fa/TezosQUIPU.js.map +1 -0
- package/v0/protocol/fa/TezosSIRS.d.ts +10 -0
- package/v0/protocol/fa/TezosSIRS.js +53 -0
- package/v0/protocol/fa/TezosSIRS.js.map +1 -0
- package/v0/protocol/fa/TezosStaker.d.ts +10 -0
- package/v0/protocol/fa/TezosStaker.js +76 -0
- package/v0/protocol/fa/TezosStaker.js.map +1 -0
- package/v0/protocol/fa/TezosUBTC.d.ts +10 -0
- package/v0/protocol/fa/TezosUBTC.js +56 -0
- package/v0/protocol/fa/TezosUBTC.js.map +1 -0
- package/v0/protocol/fa/TezosUDEFI.d.ts +10 -0
- package/v0/protocol/fa/TezosUDEFI.js +56 -0
- package/v0/protocol/fa/TezosUDEFI.js.map +1 -0
- package/v0/protocol/fa/TezosUSD.d.ts +10 -0
- package/v0/protocol/fa/TezosUSD.js +76 -0
- package/v0/protocol/fa/TezosUSD.js.map +1 -0
- package/v0/protocol/fa/TezosUSDT.d.ts +10 -0
- package/v0/protocol/fa/TezosUSDT.js +56 -0
- package/v0/protocol/fa/TezosUSDT.js.map +1 -0
- package/v0/protocol/fa/TezosUUSD.d.ts +6 -0
- package/v0/protocol/fa/TezosUUSD.js +33 -0
- package/v0/protocol/fa/TezosUUSD.js.map +1 -0
- package/v0/protocol/fa/TezosUXTZ.d.ts +10 -0
- package/v0/protocol/fa/TezosUXTZ.js +56 -0
- package/v0/protocol/fa/TezosUXTZ.js.map +1 -0
- package/v0/protocol/fa/TezosWRAP.d.ts +10 -0
- package/v0/protocol/fa/TezosWRAP.js +56 -0
- package/v0/protocol/fa/TezosWRAP.js.map +1 -0
- package/v0/protocol/fa/TezosWrapped.d.ts +10 -0
- package/v0/protocol/fa/TezosWrapped.js +76 -0
- package/v0/protocol/fa/TezosWrapped.js.map +1 -0
- package/v0/protocol/fa/TezosYOU.d.ts +6 -0
- package/v0/protocol/fa/TezosYOU.js +33 -0
- package/v0/protocol/fa/TezosYOU.js.map +1 -0
- package/v0/protocol/fa/metadata/BigMapTokenMetadataIndexer.d.ts +13 -0
- package/v0/protocol/fa/metadata/BigMapTokenMetadataIndexer.js +180 -0
- package/v0/protocol/fa/metadata/BigMapTokenMetadataIndexer.js.map +1 -0
- package/v0/protocol/fa/metadata/ObjktTokenMetadataIndexer.d.ts +8 -0
- package/v0/protocol/fa/metadata/ObjktTokenMetadataIndexer.js +97 -0
- package/v0/protocol/fa/metadata/ObjktTokenMetadataIndexer.js.map +1 -0
- package/v0/protocol/fa/metadata/TokenMetadataIndexer.d.ts +4 -0
- package/v0/protocol/fa/metadata/TokenMetadataIndexer.js +3 -0
- package/v0/protocol/fa/metadata/TokenMetadataIndexer.js.map +1 -0
- package/v0/protocol/indexerClient/TezosIndexerClient.d.ts +29 -0
- package/v0/protocol/indexerClient/TezosIndexerClient.js +269 -0
- package/v0/protocol/indexerClient/TezosIndexerClient.js.map +1 -0
- package/v0/protocol/indexerClient/TezosProtocolIndexerClient.d.ts +30 -0
- package/v0/protocol/indexerClient/TezosProtocolIndexerClient.js +3 -0
- package/v0/protocol/indexerClient/TezosProtocolIndexerClient.js.map +1 -0
- package/v0/protocol/kt/TezosKtAddress.d.ts +5 -0
- package/v0/protocol/kt/TezosKtAddress.js +74 -0
- package/v0/protocol/kt/TezosKtAddress.js.map +1 -0
- package/v0/protocol/kt/TezosKtProtocol.d.ts +30 -0
- package/v0/protocol/kt/TezosKtProtocol.js +320 -0
- package/v0/protocol/kt/TezosKtProtocol.js.map +1 -0
- package/v0/protocol/sapling/TezosSaplingAddress.d.ts +12 -0
- package/v0/protocol/sapling/TezosSaplingAddress.js +141 -0
- package/v0/protocol/sapling/TezosSaplingAddress.js.map +1 -0
- package/v0/protocol/sapling/TezosSaplingCryptoClient.d.ts +34 -0
- package/v0/protocol/sapling/TezosSaplingCryptoClient.js +248 -0
- package/v0/protocol/sapling/TezosSaplingCryptoClient.js.map +1 -0
- package/v0/protocol/sapling/TezosSaplingProtocol.d.ts +136 -0
- package/v0/protocol/sapling/TezosSaplingProtocol.js +1189 -0
- package/v0/protocol/sapling/TezosSaplingProtocol.js.map +1 -0
- package/v0/protocol/sapling/TezosSaplingProtocolOptions.d.ts +45 -0
- package/v0/protocol/sapling/TezosSaplingProtocolOptions.js +73 -0
- package/v0/protocol/sapling/TezosSaplingProtocolOptions.js.map +1 -0
- package/v0/protocol/sapling/TezosShieldedTezProtocol.d.ts +12 -0
- package/v0/protocol/sapling/TezosShieldedTezProtocol.js +144 -0
- package/v0/protocol/sapling/TezosShieldedTezProtocol.js.map +1 -0
- package/v0/protocol/sapling/injector/TezosSaplingInjectorClient.d.ts +6 -0
- package/v0/protocol/sapling/injector/TezosSaplingInjectorClient.js +68 -0
- package/v0/protocol/sapling/injector/TezosSaplingInjectorClient.js.map +1 -0
- package/v0/protocol/sapling/node/TezosSaplingNodeClient.d.ts +8 -0
- package/v0/protocol/sapling/node/TezosSaplingNodeClient.js +78 -0
- package/v0/protocol/sapling/node/TezosSaplingNodeClient.js.map +1 -0
- package/v0/protocol/sapling/utils/TezosSaplingBookkeeper.d.ts +34 -0
- package/v0/protocol/sapling/utils/TezosSaplingBookkeeper.js +591 -0
- package/v0/protocol/sapling/utils/TezosSaplingBookkeeper.js.map +1 -0
- package/v0/protocol/sapling/utils/TezosSaplingEncoder.d.ts +22 -0
- package/v0/protocol/sapling/utils/TezosSaplingEncoder.js +158 -0
- package/v0/protocol/sapling/utils/TezosSaplingEncoder.js.map +1 -0
- package/v0/protocol/sapling/utils/TezosSaplingForger.d.ts +27 -0
- package/v0/protocol/sapling/utils/TezosSaplingForger.js +304 -0
- package/v0/protocol/sapling/utils/TezosSaplingForger.js.map +1 -0
- package/v0/protocol/sapling/utils/TezosSaplingState.d.ts +17 -0
- package/v0/protocol/sapling/utils/TezosSaplingState.js +266 -0
- package/v0/protocol/sapling/utils/TezosSaplingState.js.map +1 -0
- package/v0/protocol/types/TezosAddressCursor.d.ts +3 -0
- package/v0/protocol/types/TezosAddressCursor.js +3 -0
- package/v0/protocol/types/TezosAddressCursor.js.map +1 -0
- package/v0/protocol/types/TezosAddressResult.d.ts +4 -0
- package/v0/protocol/types/TezosAddressResult.js +3 -0
- package/v0/protocol/types/TezosAddressResult.js.map +1 -0
- package/v0/protocol/types/TezosBlockHeader.d.ts +13 -0
- package/v0/protocol/types/TezosBlockHeader.js +3 -0
- package/v0/protocol/types/TezosBlockHeader.js.map +1 -0
- package/v0/protocol/types/TezosBlockMetadata.d.ts +7 -0
- package/v0/protocol/types/TezosBlockMetadata.js +3 -0
- package/v0/protocol/types/TezosBlockMetadata.js.map +1 -0
- package/v0/protocol/types/TezosContractCode.d.ts +5 -0
- package/v0/protocol/types/TezosContractCode.js +3 -0
- package/v0/protocol/types/TezosContractCode.js.map +1 -0
- package/v0/protocol/types/TezosOperationType.d.ts +13 -0
- package/v0/protocol/types/TezosOperationType.js +18 -0
- package/v0/protocol/types/TezosOperationType.js.map +1 -0
- package/v0/protocol/types/TezosTransactionCursor.d.ts +3 -0
- package/v0/protocol/types/TezosTransactionCursor.js +3 -0
- package/v0/protocol/types/TezosTransactionCursor.js.map +1 -0
- package/v0/protocol/types/TezosTransactionResult.d.ts +6 -0
- package/v0/protocol/types/TezosTransactionResult.js +3 -0
- package/v0/protocol/types/TezosTransactionResult.js.map +1 -0
- package/v0/protocol/types/TezosWrappedOperation.d.ts +5 -0
- package/v0/protocol/types/TezosWrappedOperation.js +3 -0
- package/v0/protocol/types/TezosWrappedOperation.js.map +1 -0
- package/v0/protocol/types/contract/BigMap.d.ts +7 -0
- package/v0/protocol/types/contract/BigMap.js +3 -0
- package/v0/protocol/types/contract/BigMap.js.map +1 -0
- package/v0/protocol/types/contract/BigMapEntry.d.ts +8 -0
- package/v0/protocol/types/contract/BigMapEntry.js +3 -0
- package/v0/protocol/types/contract/BigMapEntry.js.map +1 -0
- package/v0/protocol/types/contract/BigMapEntryFilter.d.ts +5 -0
- package/v0/protocol/types/contract/BigMapEntryFilter.js +3 -0
- package/v0/protocol/types/contract/BigMapEntryFilter.js.map +1 -0
- package/v0/protocol/types/contract/BigMapRequest.d.ts +10 -0
- package/v0/protocol/types/contract/BigMapRequest.js +3 -0
- package/v0/protocol/types/contract/BigMapRequest.js.map +1 -0
- package/v0/protocol/types/contract/TezosContractMetadata.d.ts +61 -0
- package/v0/protocol/types/contract/TezosContractMetadata.js +3 -0
- package/v0/protocol/types/contract/TezosContractMetadata.js.map +1 -0
- package/v0/protocol/types/domains/TezosDomainsRecord.d.ts +8 -0
- package/v0/protocol/types/domains/TezosDomainsRecord.js +3 -0
- package/v0/protocol/types/domains/TezosDomainsRecord.js.map +1 -0
- package/v0/protocol/types/domains/TezosDomainsReverseRecord.d.ts +5 -0
- package/v0/protocol/types/domains/TezosDomainsReverseRecord.js +3 -0
- package/v0/protocol/types/domains/TezosDomainsReverseRecord.js.map +1 -0
- package/v0/protocol/types/fa/TezosFA2BalanceOfRequest.d.ts +4 -0
- package/v0/protocol/types/fa/TezosFA2BalanceOfRequest.js +3 -0
- package/v0/protocol/types/fa/TezosFA2BalanceOfRequest.js.map +1 -0
- package/v0/protocol/types/fa/TezosFA2BalanceOfResponse.d.ts +5 -0
- package/v0/protocol/types/fa/TezosFA2BalanceOfResponse.js +3 -0
- package/v0/protocol/types/fa/TezosFA2BalanceOfResponse.js.map +1 -0
- package/v0/protocol/types/fa/TezosFA2TransferRequest.d.ts +8 -0
- package/v0/protocol/types/fa/TezosFA2TransferRequest.js +3 -0
- package/v0/protocol/types/fa/TezosFA2TransferRequest.js.map +1 -0
- package/v0/protocol/types/fa/TezosFA2UpdateOperatorRequest.d.ts +6 -0
- package/v0/protocol/types/fa/TezosFA2UpdateOperatorRequest.js +3 -0
- package/v0/protocol/types/fa/TezosFA2UpdateOperatorRequest.js.map +1 -0
- package/v0/protocol/types/fa/TezosFATokenMetadata.d.ts +6 -0
- package/v0/protocol/types/fa/TezosFATokenMetadata.js +3 -0
- package/v0/protocol/types/fa/TezosFATokenMetadata.js.map +1 -0
- package/v0/protocol/types/kt/TezosKtAddressCursor.d.ts +4 -0
- package/v0/protocol/types/kt/TezosKtAddressCursor.js +3 -0
- package/v0/protocol/types/kt/TezosKtAddressCursor.js.map +1 -0
- package/v0/protocol/types/kt/TezosKtAddressResult.d.ts +5 -0
- package/v0/protocol/types/kt/TezosKtAddressResult.js +3 -0
- package/v0/protocol/types/kt/TezosKtAddressResult.js.map +1 -0
- package/v0/protocol/types/micheline/MichelineNode.d.ts +15 -0
- package/v0/protocol/types/micheline/MichelineNode.js +5 -0
- package/v0/protocol/types/micheline/MichelineNode.js.map +1 -0
- package/v0/protocol/types/micheline/MichelineNodeUtils.d.ts +6 -0
- package/v0/protocol/types/micheline/MichelineNodeUtils.js +40 -0
- package/v0/protocol/types/micheline/MichelineNodeUtils.js.map +1 -0
- package/v0/protocol/types/michelson/MichelsonType.d.ts +11 -0
- package/v0/protocol/types/michelson/MichelsonType.js +22 -0
- package/v0/protocol/types/michelson/MichelsonType.js.map +1 -0
- package/v0/protocol/types/michelson/MichelsonTypeMeta.d.ts +33 -0
- package/v0/protocol/types/michelson/MichelsonTypeMeta.js +136 -0
- package/v0/protocol/types/michelson/MichelsonTypeMeta.js.map +1 -0
- package/v0/protocol/types/michelson/MichelsonTypeUtils.d.ts +19 -0
- package/v0/protocol/types/michelson/MichelsonTypeUtils.js +251 -0
- package/v0/protocol/types/michelson/MichelsonTypeUtils.js.map +1 -0
- package/v0/protocol/types/michelson/generics/MichelsonList.d.ts +11 -0
- package/v0/protocol/types/michelson/generics/MichelsonList.js +70 -0
- package/v0/protocol/types/michelson/generics/MichelsonList.js.map +1 -0
- package/v0/protocol/types/michelson/generics/MichelsonMap.d.ts +14 -0
- package/v0/protocol/types/michelson/generics/MichelsonMap.js +120 -0
- package/v0/protocol/types/michelson/generics/MichelsonMap.js.map +1 -0
- package/v0/protocol/types/michelson/generics/MichelsonOption.d.ts +25 -0
- package/v0/protocol/types/michelson/generics/MichelsonOption.js +121 -0
- package/v0/protocol/types/michelson/generics/MichelsonOption.js.map +1 -0
- package/v0/protocol/types/michelson/generics/MichelsonOr.d.ts +25 -0
- package/v0/protocol/types/michelson/generics/MichelsonOr.js +134 -0
- package/v0/protocol/types/michelson/generics/MichelsonOr.js.map +1 -0
- package/v0/protocol/types/michelson/generics/MichelsonPair.d.ts +17 -0
- package/v0/protocol/types/michelson/generics/MichelsonPair.js +139 -0
- package/v0/protocol/types/michelson/generics/MichelsonPair.js.map +1 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarData.d.ts +2 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarData.js +4 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarData.js.map +1 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarInstruction.d.ts +1 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarInstruction.js +4 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarInstruction.js.map +1 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarType.d.ts +1 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarType.js +4 -0
- package/v0/protocol/types/michelson/grammar/MichelsonGrammarType.js.map +1 -0
- package/v0/protocol/types/michelson/primitives/MichelsonAddress.d.ts +15 -0
- package/v0/protocol/types/michelson/primitives/MichelsonAddress.js +74 -0
- package/v0/protocol/types/michelson/primitives/MichelsonAddress.js.map +1 -0
- package/v0/protocol/types/michelson/primitives/MichelsonBool.d.ts +12 -0
- package/v0/protocol/types/michelson/primitives/MichelsonBool.js +59 -0
- package/v0/protocol/types/michelson/primitives/MichelsonBool.js.map +1 -0
- package/v0/protocol/types/michelson/primitives/MichelsonBytes.d.ts +14 -0
- package/v0/protocol/types/michelson/primitives/MichelsonBytes.js +77 -0
- package/v0/protocol/types/michelson/primitives/MichelsonBytes.js.map +1 -0
- package/v0/protocol/types/michelson/primitives/MichelsonInt.d.ts +14 -0
- package/v0/protocol/types/michelson/primitives/MichelsonInt.js +74 -0
- package/v0/protocol/types/michelson/primitives/MichelsonInt.js.map +1 -0
- package/v0/protocol/types/michelson/primitives/MichelsonString.d.ts +14 -0
- package/v0/protocol/types/michelson/primitives/MichelsonString.js +76 -0
- package/v0/protocol/types/michelson/primitives/MichelsonString.js.map +1 -0
- package/v0/protocol/types/michelson/primitives/MichelsonUnit.d.ts +9 -0
- package/v0/protocol/types/michelson/primitives/MichelsonUnit.js +55 -0
- package/v0/protocol/types/michelson/primitives/MichelsonUnit.js.map +1 -0
- package/v0/protocol/types/operations/ActivateAccount.d.ts +7 -0
- package/v0/protocol/types/operations/ActivateAccount.js +3 -0
- package/v0/protocol/types/operations/ActivateAccount.js.map +1 -0
- package/v0/protocol/types/operations/Ballot.d.ts +9 -0
- package/v0/protocol/types/operations/Ballot.js +3 -0
- package/v0/protocol/types/operations/Ballot.js.map +1 -0
- package/v0/protocol/types/operations/Delegation.d.ts +11 -0
- package/v0/protocol/types/operations/Delegation.js +3 -0
- package/v0/protocol/types/operations/Delegation.js.map +1 -0
- package/v0/protocol/types/operations/DoubleBakingEvidence.d.ts +8 -0
- package/v0/protocol/types/operations/DoubleBakingEvidence.js +3 -0
- package/v0/protocol/types/operations/DoubleBakingEvidence.js.map +1 -0
- package/v0/protocol/types/operations/DoubleEndorsementEvidence.d.ts +16 -0
- package/v0/protocol/types/operations/DoubleEndorsementEvidence.js +3 -0
- package/v0/protocol/types/operations/DoubleEndorsementEvidence.js.map +1 -0
- package/v0/protocol/types/operations/Endorsement.d.ts +6 -0
- package/v0/protocol/types/operations/Endorsement.js +3 -0
- package/v0/protocol/types/operations/Endorsement.js.map +1 -0
- package/v0/protocol/types/operations/Origination.d.ts +13 -0
- package/v0/protocol/types/operations/Origination.js +3 -0
- package/v0/protocol/types/operations/Origination.js.map +1 -0
- package/v0/protocol/types/operations/Proposal.d.ts +7 -0
- package/v0/protocol/types/operations/Proposal.js +3 -0
- package/v0/protocol/types/operations/Proposal.js.map +1 -0
- package/v0/protocol/types/operations/Reveal.d.ts +11 -0
- package/v0/protocol/types/operations/Reveal.js +3 -0
- package/v0/protocol/types/operations/Reveal.js.map +1 -0
- package/v0/protocol/types/operations/SeedNonceRevelation.d.ts +7 -0
- package/v0/protocol/types/operations/SeedNonceRevelation.js +3 -0
- package/v0/protocol/types/operations/SeedNonceRevelation.js.map +1 -0
- package/v0/protocol/types/operations/TezosOperation.d.ts +4 -0
- package/v0/protocol/types/operations/TezosOperation.js +3 -0
- package/v0/protocol/types/operations/TezosOperation.js.map +1 -0
- package/v0/protocol/types/operations/Transaction.d.ts +23 -0
- package/v0/protocol/types/operations/Transaction.js +3 -0
- package/v0/protocol/types/operations/Transaction.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingAddressCursor.d.ts +4 -0
- package/v0/protocol/types/sapling/TezosSaplingAddressCursor.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingAddressCursor.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingAddressResult.d.ts +4 -0
- package/v0/protocol/types/sapling/TezosSaplingAddressResult.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingAddressResult.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingCiphertext.d.ts +8 -0
- package/v0/protocol/types/sapling/TezosSaplingCiphertext.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingCiphertext.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingInput.d.ts +6 -0
- package/v0/protocol/types/sapling/TezosSaplingInput.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingInput.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingOutput.d.ts +6 -0
- package/v0/protocol/types/sapling/TezosSaplingOutput.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingOutput.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingStateDiff.d.ts +6 -0
- package/v0/protocol/types/sapling/TezosSaplingStateDiff.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingStateDiff.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingStateTree.d.ts +7 -0
- package/v0/protocol/types/sapling/TezosSaplingStateTree.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingStateTree.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingTransaction.d.ts +23 -0
- package/v0/protocol/types/sapling/TezosSaplingTransaction.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingTransaction.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingTransactionCursor.d.ts +3 -0
- package/v0/protocol/types/sapling/TezosSaplingTransactionCursor.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingTransactionCursor.js.map +1 -0
- package/v0/protocol/types/sapling/TezosSaplingTransactionResult.d.ts +6 -0
- package/v0/protocol/types/sapling/TezosSaplingTransactionResult.js +3 -0
- package/v0/protocol/types/sapling/TezosSaplingTransactionResult.js.map +1 -0
- package/v0/protocol/types/utils.d.ts +8 -0
- package/v0/protocol/types/utils.js +41 -0
- package/v0/protocol/types/utils.js.map +1 -0
- package/v0/serializer/schemas/v2/transaction-sign-request-tezos-sapling.json +127 -0
- package/v0/serializer/schemas/v2/transaction-sign-request-tezos.json +29 -0
- package/v0/serializer/schemas/v2/transaction-sign-response-tezos-sapling.json +19 -0
- package/v0/serializer/schemas/v2/transaction-sign-response-tezos.json +19 -0
- package/v0/serializer/schemas/v3/transaction-sign-request-tezos-sapling.json +133 -0
- package/v0/serializer/schemas/v3/transaction-sign-request-tezos.json +29 -0
- package/v0/serializer/schemas/v3/transaction-sign-response-tezos-sapling.json +19 -0
- package/v0/serializer/schemas/v3/transaction-sign-response-tezos.json +19 -0
- package/v0/serializer/validators/transaction-validator.d.ts +15 -0
- package/v0/serializer/validators/transaction-validator.js +107 -0
- package/v0/serializer/validators/transaction-validator.js.map +1 -0
- package/v0/serializer/validators/transaction-xtz-btc-validator.d.ts +18 -0
- package/v0/serializer/validators/transaction-xtz-btc-validator.js +170 -0
- package/v0/serializer/validators/transaction-xtz-btc-validator.js.map +1 -0
- package/v0/serializer/validators/validators.d.ts +1 -0
- package/v0/serializer/validators/validators.js +115 -0
- package/v0/serializer/validators/validators.js.map +1 -0
- package/v0/types/signed-transaction-tezos-sapling.d.ts +3 -0
- package/v0/types/signed-transaction-tezos-sapling.js +3 -0
- package/v0/types/signed-transaction-tezos-sapling.js.map +1 -0
- package/v0/types/signed-transaction-tezos.d.ts +5 -0
- package/v0/types/signed-transaction-tezos.js +3 -0
- package/v0/types/signed-transaction-tezos.js.map +1 -0
- package/v0/types/transaction-tezos.d.ts +14 -0
- package/v0/types/transaction-tezos.js +3 -0
- package/v0/types/transaction-tezos.js.map +1 -0
- package/v0/types/unsigned-transaction-tezos-sapling.d.ts +38 -0
- package/v0/types/unsigned-transaction-tezos-sapling.js +3 -0
- package/v0/types/unsigned-transaction-tezos-sapling.js.map +1 -0
- package/v0/types/unsigned-transaction-tezos.d.ts +8 -0
- package/v0/types/unsigned-transaction-tezos.js +3 -0
- package/v0/types/unsigned-transaction-tezos.js.map +1 -0
- package/v1/block-explorer/TzKTBlockExplorer.d.ts +9 -0
- package/v1/block-explorer/TzKTBlockExplorer.js +72 -0
- package/v1/block-explorer/TzKTBlockExplorer.js.map +1 -0
- package/v1/block-explorer/factory.d.ts +3 -0
- package/v1/block-explorer/factory.js +17 -0
- package/v1/block-explorer/factory.js.map +1 -0
- package/v1/contract/TezosContract.d.ts +52 -0
- package/v1/contract/TezosContract.js +508 -0
- package/v1/contract/TezosContract.js.map +1 -0
- package/v1/contract/TezosContractCall.d.ts +11 -0
- package/v1/contract/TezosContractCall.js +23 -0
- package/v1/contract/TezosContractCall.js.map +1 -0
- package/v1/contract/TezosContractEntrypoint.d.ts +9 -0
- package/v1/contract/TezosContractEntrypoint.js +27 -0
- package/v1/contract/TezosContractEntrypoint.js.map +1 -0
- package/v1/contract/TezosContractStorage.d.ts +7 -0
- package/v1/contract/TezosContractStorage.js +16 -0
- package/v1/contract/TezosContractStorage.js.map +1 -0
- package/v1/contract/remote-data/TezosContractRemoteDataFactory.d.ts +11 -0
- package/v1/contract/remote-data/TezosContractRemoteDataFactory.js +36 -0
- package/v1/contract/remote-data/TezosContractRemoteDataFactory.js.map +1 -0
- package/v1/contract/remote-data/TezosStorageRemoteData.d.ts +12 -0
- package/v1/contract/remote-data/TezosStorageRemoteData.js +152 -0
- package/v1/contract/remote-data/TezosStorageRemoteData.js.map +1 -0
- package/v1/crypto/TezosCryptoClient.d.ts +13 -0
- package/v1/crypto/TezosCryptoClient.js +153 -0
- package/v1/crypto/TezosCryptoClient.js.map +1 -0
- package/v1/crypto/TezosSaplingCryptoClient.d.ts +25 -0
- package/v1/crypto/TezosSaplingCryptoClient.js +222 -0
- package/v1/crypto/TezosSaplingCryptoClient.js.map +1 -0
- package/v1/data/TezosAddress.d.ts +9 -0
- package/v1/data/TezosAddress.js +27 -0
- package/v1/data/TezosAddress.js.map +1 -0
- package/v1/data/TezosSaplingAddress.d.ts +14 -0
- package/v1/data/TezosSaplingAddress.js +105 -0
- package/v1/data/TezosSaplingAddress.js.map +1 -0
- package/v1/domains/TezosDomains.d.ts +20 -0
- package/v1/domains/TezosDomains.js +309 -0
- package/v1/domains/TezosDomains.js.map +1 -0
- package/v1/index.d.ts +74 -0
- package/v1/index.js +110 -0
- package/v1/index.js.map +1 -0
- package/v1/indexer/TezosIndexerClient.d.ts +31 -0
- package/v1/indexer/TezosIndexerClient.js +3 -0
- package/v1/indexer/TezosIndexerClient.js.map +1 -0
- package/v1/indexer/TzKTIndexerClient.d.ts +31 -0
- package/v1/indexer/TzKTIndexerClient.js +283 -0
- package/v1/indexer/TzKTIndexerClient.js.map +1 -0
- package/v1/indexer/factory.d.ts +3 -0
- package/v1/indexer/factory.js +17 -0
- package/v1/indexer/factory.js.map +1 -0
- package/v1/indexer/token-metadata/BigMapTokenMetadataIndexerClient.d.ts +12 -0
- package/v1/indexer/token-metadata/BigMapTokenMetadataIndexerClient.js +178 -0
- package/v1/indexer/token-metadata/BigMapTokenMetadataIndexerClient.js.map +1 -0
- package/v1/indexer/token-metadata/ObjktTokenMetadataIndexerClient.d.ts +8 -0
- package/v1/indexer/token-metadata/ObjktTokenMetadataIndexerClient.js +95 -0
- package/v1/indexer/token-metadata/ObjktTokenMetadataIndexerClient.js.map +1 -0
- package/v1/indexer/token-metadata/TokenMetadataIndexerClient.d.ts +4 -0
- package/v1/indexer/token-metadata/TokenMetadataIndexerClient.js +3 -0
- package/v1/indexer/token-metadata/TokenMetadataIndexerClient.js.map +1 -0
- package/v1/injector/TezosSaplingInjectorClient.d.ts +6 -0
- package/v1/injector/TezosSaplingInjectorClient.js +68 -0
- package/v1/injector/TezosSaplingInjectorClient.js.map +1 -0
- package/v1/module/TezosModule.d.ts +14 -0
- package/v1/module/TezosModule.js +214 -0
- package/v1/module/TezosModule.js.map +1 -0
- package/v1/module.d.ts +3 -0
- package/v1/module.js +24 -0
- package/v1/module.js.map +1 -0
- package/v1/node/TezosSaplingNodeClient.d.ts +8 -0
- package/v1/node/TezosSaplingNodeClient.js +78 -0
- package/v1/node/TezosSaplingNodeClient.js.map +1 -0
- package/v1/protocol/TezosProtocol.d.ts +114 -0
- package/v1/protocol/TezosProtocol.js +1492 -0
- package/v1/protocol/TezosProtocol.js.map +1 -0
- package/v1/protocol/fa/TezosFA1Protocol.d.ts +43 -0
- package/v1/protocol/fa/TezosFA1Protocol.js +224 -0
- package/v1/protocol/fa/TezosFA1Protocol.js.map +1 -0
- package/v1/protocol/fa/TezosFA1p2Protocol.d.ts +32 -0
- package/v1/protocol/fa/TezosFA1p2Protocol.js +128 -0
- package/v1/protocol/fa/TezosFA1p2Protocol.js.map +1 -0
- package/v1/protocol/fa/TezosFA2Protocol.d.ts +56 -0
- package/v1/protocol/fa/TezosFA2Protocol.js +354 -0
- package/v1/protocol/fa/TezosFA2Protocol.js.map +1 -0
- package/v1/protocol/fa/TezosFAProtocol.d.ts +82 -0
- package/v1/protocol/fa/TezosFAProtocol.js +595 -0
- package/v1/protocol/fa/TezosFAProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/BTCTezProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/BTCTezProtocol.js +74 -0
- package/v1/protocol/fa/tokens/BTCTezProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/CTezProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/CTezProtocol.js +74 -0
- package/v1/protocol/fa/tokens/CTezProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/DogamiProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/DogamiProtocol.js +74 -0
- package/v1/protocol/fa/tokens/DogamiProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/ETHTezProtocol.d.ts +18 -0
- package/v1/protocol/fa/tokens/ETHTezProtocol.js +117 -0
- package/v1/protocol/fa/tokens/ETHTezProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/KolibriUSDProtocol.d.ts +18 -0
- package/v1/protocol/fa/tokens/KolibriUSDProtocol.js +117 -0
- package/v1/protocol/fa/tokens/KolibriUSDProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/PlentyProtocol.d.ts +18 -0
- package/v1/protocol/fa/tokens/PlentyProtocol.js +117 -0
- package/v1/protocol/fa/tokens/PlentyProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/QuipuswapProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/QuipuswapProtocol.js +74 -0
- package/v1/protocol/fa/tokens/QuipuswapProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/SiriusProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/SiriusProtocol.js +74 -0
- package/v1/protocol/fa/tokens/SiriusProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/StakerProtocol.d.ts +18 -0
- package/v1/protocol/fa/tokens/StakerProtocol.js +117 -0
- package/v1/protocol/fa/tokens/StakerProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/TetherUSDProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/TetherUSDProtocol.js +74 -0
- package/v1/protocol/fa/tokens/TetherUSDProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/TzBTCProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/TzBTCProtocol.js +74 -0
- package/v1/protocol/fa/tokens/TzBTCProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/UBTCProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/UBTCProtocol.js +74 -0
- package/v1/protocol/fa/tokens/UBTCProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/UDEFIProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/UDEFIProtocol.js +74 -0
- package/v1/protocol/fa/tokens/UDEFIProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/USDTezProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/USDTezProtocol.js +74 -0
- package/v1/protocol/fa/tokens/USDTezProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/UUSDProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/UUSDProtocol.js +74 -0
- package/v1/protocol/fa/tokens/UUSDProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/UXTZProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/UXTZProtocol.js +74 -0
- package/v1/protocol/fa/tokens/UXTZProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/WrapProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/WrapProtocol.js +74 -0
- package/v1/protocol/fa/tokens/WrapProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/WrappedTezosProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/WrappedTezosProtocol.js +74 -0
- package/v1/protocol/fa/tokens/WrappedTezosProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/YouProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/YouProtocol.js +74 -0
- package/v1/protocol/fa/tokens/YouProtocol.js.map +1 -0
- package/v1/protocol/fa/tokens/stXTZProtocol.d.ts +14 -0
- package/v1/protocol/fa/tokens/stXTZProtocol.js +74 -0
- package/v1/protocol/fa/tokens/stXTZProtocol.js.map +1 -0
- package/v1/protocol/kt/TezosKtProtocol.d.ts +19 -0
- package/v1/protocol/kt/TezosKtProtocol.js +521 -0
- package/v1/protocol/kt/TezosKtProtocol.js.map +1 -0
- package/v1/protocol/sapling/TezosSaplingProtocol.d.ts +108 -0
- package/v1/protocol/sapling/TezosSaplingProtocol.js +1021 -0
- package/v1/protocol/sapling/TezosSaplingProtocol.js.map +1 -0
- package/v1/protocol/sapling/TezosShieldedTezProtocol.d.ts +17 -0
- package/v1/protocol/sapling/TezosShieldedTezProtocol.js +188 -0
- package/v1/protocol/sapling/TezosShieldedTezProtocol.js.map +1 -0
- package/v1/serializer/v3/schemas/converter/transaction-converter.d.ts +13 -0
- package/v1/serializer/v3/schemas/converter/transaction-converter.js +59 -0
- package/v1/serializer/v3/schemas/converter/transaction-converter.js.map +1 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-tezos-sapling.d.ts +4 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-tezos-sapling.js +3 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-tezos-sapling.js.map +1 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-tezos.d.ts +8 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-tezos.js +3 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-tezos.js.map +1 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-tezos-sapling.d.ts +3 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-tezos-sapling.js +3 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-tezos-sapling.js.map +1 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-tezos.d.ts +3 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-tezos.js +3 -0
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-tezos.js.map +1 -0
- package/v1/serializer/v3/schemas/generated/transaction-sign-request-tezos-sapling.json +145 -0
- package/v1/serializer/v3/schemas/generated/transaction-sign-request-tezos.json +29 -0
- package/v1/serializer/v3/schemas/generated/transaction-sign-response-tezos-sapling.json +19 -0
- package/v1/serializer/v3/schemas/generated/transaction-sign-response-tezos.json +19 -0
- package/v1/serializer/v3/serializer-companion.d.ts +15 -0
- package/v1/serializer/v3/serializer-companion.js +437 -0
- package/v1/serializer/v3/serializer-companion.js.map +1 -0
- package/v1/serializer/v3/validators/transaction-validator.d.ts +14 -0
- package/v1/serializer/v3/validators/transaction-validator.js +179 -0
- package/v1/serializer/v3/validators/transaction-validator.js.map +1 -0
- package/v1/serializer/v3/validators/validators.d.ts +4 -0
- package/v1/serializer/v3/validators/validators.js +108 -0
- package/v1/serializer/v3/validators/validators.js.map +1 -0
- package/v1/types/address.d.ts +7 -0
- package/v1/types/address.js +3 -0
- package/v1/types/address.js.map +1 -0
- package/v1/types/block/TezosBlockHeader.d.ts +13 -0
- package/v1/types/block/TezosBlockHeader.js +3 -0
- package/v1/types/block/TezosBlockHeader.js.map +1 -0
- package/v1/types/block-explorer.d.ts +1 -0
- package/v1/types/block-explorer.js +3 -0
- package/v1/types/block-explorer.js.map +1 -0
- package/v1/types/contract/TezosContractCode.d.ts +5 -0
- package/v1/types/contract/TezosContractCode.js +3 -0
- package/v1/types/contract/TezosContractCode.js.map +1 -0
- package/v1/types/contract/TezosContractMetadata.d.ts +61 -0
- package/v1/types/contract/TezosContractMetadata.js +3 -0
- package/v1/types/contract/TezosContractMetadata.js.map +1 -0
- package/v1/types/contract/bigmap/BigMap.d.ts +7 -0
- package/v1/types/contract/bigmap/BigMap.js +3 -0
- package/v1/types/contract/bigmap/BigMap.js.map +1 -0
- package/v1/types/contract/bigmap/BigMapEnrtyFilter.d.ts +5 -0
- package/v1/types/contract/bigmap/BigMapEnrtyFilter.js +3 -0
- package/v1/types/contract/bigmap/BigMapEnrtyFilter.js.map +1 -0
- package/v1/types/contract/bigmap/BigMapEntry.d.ts +8 -0
- package/v1/types/contract/bigmap/BigMapEntry.js +3 -0
- package/v1/types/contract/bigmap/BigMapEntry.js.map +1 -0
- package/v1/types/contract/bigmap/BigMapRequest.d.ts +10 -0
- package/v1/types/contract/bigmap/BigMapRequest.js +3 -0
- package/v1/types/contract/bigmap/BigMapRequest.js.map +1 -0
- package/v1/types/crypto.d.ts +3 -0
- package/v1/types/crypto.js +3 -0
- package/v1/types/crypto.js.map +1 -0
- package/v1/types/domains/TezosDomainsRecord.d.ts +8 -0
- package/v1/types/domains/TezosDomainsRecord.js +3 -0
- package/v1/types/domains/TezosDomainsRecord.js.map +1 -0
- package/v1/types/domains/TezosDomainsReverseRecord.d.ts +5 -0
- package/v1/types/domains/TezosDomainsReverseRecord.js +3 -0
- package/v1/types/domains/TezosDomainsReverseRecord.js.map +1 -0
- package/v1/types/fa/TezosFA1ContractEntrypoint.d.ts +1 -0
- package/v1/types/fa/TezosFA1ContractEntrypoint.js +3 -0
- package/v1/types/fa/TezosFA1ContractEntrypoint.js.map +1 -0
- package/v1/types/fa/TezosFA1p2ContractEntrypoint.d.ts +2 -0
- package/v1/types/fa/TezosFA1p2ContractEntrypoint.js +3 -0
- package/v1/types/fa/TezosFA1p2ContractEntrypoint.js.map +1 -0
- package/v1/types/fa/TezosFA2BalanceOfRequest.d.ts +4 -0
- package/v1/types/fa/TezosFA2BalanceOfRequest.js +3 -0
- package/v1/types/fa/TezosFA2BalanceOfRequest.js.map +1 -0
- package/v1/types/fa/TezosFA2BalanceOfResponse.d.ts +5 -0
- package/v1/types/fa/TezosFA2BalanceOfResponse.js +3 -0
- package/v1/types/fa/TezosFA2BalanceOfResponse.js.map +1 -0
- package/v1/types/fa/TezosFA2ContractEntrypoint.d.ts +1 -0
- package/v1/types/fa/TezosFA2ContractEntrypoint.js +3 -0
- package/v1/types/fa/TezosFA2ContractEntrypoint.js.map +1 -0
- package/v1/types/fa/TezosFA2TransferRequest.d.ts +8 -0
- package/v1/types/fa/TezosFA2TransferRequest.js +3 -0
- package/v1/types/fa/TezosFA2TransferRequest.js.map +1 -0
- package/v1/types/fa/TezosFA2UpdateOperatorRequest.d.ts +6 -0
- package/v1/types/fa/TezosFA2UpdateOperatorRequest.js +3 -0
- package/v1/types/fa/TezosFA2UpdateOperatorRequest.js.map +1 -0
- package/v1/types/fa/TezosFATokenMetadata.d.ts +6 -0
- package/v1/types/fa/TezosFATokenMetadata.js +3 -0
- package/v1/types/fa/TezosFATokenMetadata.js.map +1 -0
- package/v1/types/indexer.d.ts +1 -0
- package/v1/types/indexer.js +3 -0
- package/v1/types/indexer.js.map +1 -0
- package/v1/types/micheline/MichelineNode.d.ts +15 -0
- package/v1/types/micheline/MichelineNode.js +5 -0
- package/v1/types/micheline/MichelineNode.js.map +1 -0
- package/v1/types/micheline/MichelineNodeUtils.d.ts +6 -0
- package/v1/types/micheline/MichelineNodeUtils.js +40 -0
- package/v1/types/micheline/MichelineNodeUtils.js.map +1 -0
- package/v1/types/michelson/MichelsonType.d.ts +11 -0
- package/v1/types/michelson/MichelsonType.js +22 -0
- package/v1/types/michelson/MichelsonType.js.map +1 -0
- package/v1/types/michelson/MichelsonTypeMeta.d.ts +33 -0
- package/v1/types/michelson/MichelsonTypeMeta.js +136 -0
- package/v1/types/michelson/MichelsonTypeMeta.js.map +1 -0
- package/v1/types/michelson/MichelsonTypeUtils.d.ts +19 -0
- package/v1/types/michelson/MichelsonTypeUtils.js +251 -0
- package/v1/types/michelson/MichelsonTypeUtils.js.map +1 -0
- package/v1/types/michelson/generics/MichelsonList.d.ts +11 -0
- package/v1/types/michelson/generics/MichelsonList.js +70 -0
- package/v1/types/michelson/generics/MichelsonList.js.map +1 -0
- package/v1/types/michelson/generics/MichelsonMap.d.ts +14 -0
- package/v1/types/michelson/generics/MichelsonMap.js +120 -0
- package/v1/types/michelson/generics/MichelsonMap.js.map +1 -0
- package/v1/types/michelson/generics/MichelsonOption.d.ts +25 -0
- package/v1/types/michelson/generics/MichelsonOption.js +121 -0
- package/v1/types/michelson/generics/MichelsonOption.js.map +1 -0
- package/v1/types/michelson/generics/MichelsonOr.d.ts +25 -0
- package/v1/types/michelson/generics/MichelsonOr.js +134 -0
- package/v1/types/michelson/generics/MichelsonOr.js.map +1 -0
- package/v1/types/michelson/generics/MichelsonPair.d.ts +17 -0
- package/v1/types/michelson/generics/MichelsonPair.js +139 -0
- package/v1/types/michelson/generics/MichelsonPair.js.map +1 -0
- package/v1/types/michelson/grammar/MichelsonGrammarData.d.ts +2 -0
- package/v1/types/michelson/grammar/MichelsonGrammarData.js +4 -0
- package/v1/types/michelson/grammar/MichelsonGrammarData.js.map +1 -0
- package/v1/types/michelson/grammar/MichelsonGrammarInstruction.d.ts +1 -0
- package/v1/types/michelson/grammar/MichelsonGrammarInstruction.js +4 -0
- package/v1/types/michelson/grammar/MichelsonGrammarInstruction.js.map +1 -0
- package/v1/types/michelson/grammar/MichelsonGrammarType.d.ts +1 -0
- package/v1/types/michelson/grammar/MichelsonGrammarType.js +4 -0
- package/v1/types/michelson/grammar/MichelsonGrammarType.js.map +1 -0
- package/v1/types/michelson/primitives/MichelsonAddress.d.ts +15 -0
- package/v1/types/michelson/primitives/MichelsonAddress.js +74 -0
- package/v1/types/michelson/primitives/MichelsonAddress.js.map +1 -0
- package/v1/types/michelson/primitives/MichelsonBool.d.ts +12 -0
- package/v1/types/michelson/primitives/MichelsonBool.js +59 -0
- package/v1/types/michelson/primitives/MichelsonBool.js.map +1 -0
- package/v1/types/michelson/primitives/MichelsonBytes.d.ts +14 -0
- package/v1/types/michelson/primitives/MichelsonBytes.js +77 -0
- package/v1/types/michelson/primitives/MichelsonBytes.js.map +1 -0
- package/v1/types/michelson/primitives/MichelsonInt.d.ts +14 -0
- package/v1/types/michelson/primitives/MichelsonInt.js +74 -0
- package/v1/types/michelson/primitives/MichelsonInt.js.map +1 -0
- package/v1/types/michelson/primitives/MichelsonString.d.ts +14 -0
- package/v1/types/michelson/primitives/MichelsonString.js +76 -0
- package/v1/types/michelson/primitives/MichelsonString.js.map +1 -0
- package/v1/types/michelson/primitives/MichelsonUnit.d.ts +9 -0
- package/v1/types/michelson/primitives/MichelsonUnit.js +55 -0
- package/v1/types/michelson/primitives/MichelsonUnit.js.map +1 -0
- package/v1/types/network.d.ts +4 -0
- package/v1/types/network.js +9 -0
- package/v1/types/network.js.map +1 -0
- package/v1/types/node.d.ts +78 -0
- package/v1/types/node.js +3 -0
- package/v1/types/node.js.map +1 -0
- package/v1/types/operations/TezosOperationType.d.ts +13 -0
- package/v1/types/operations/TezosOperationType.js +18 -0
- package/v1/types/operations/TezosOperationType.js.map +1 -0
- package/v1/types/operations/TezosWrappedOperation.d.ts +5 -0
- package/v1/types/operations/TezosWrappedOperation.js +3 -0
- package/v1/types/operations/TezosWrappedOperation.js.map +1 -0
- package/v1/types/operations/kinds/ActivateAccount.d.ts +7 -0
- package/v1/types/operations/kinds/ActivateAccount.js +3 -0
- package/v1/types/operations/kinds/ActivateAccount.js.map +1 -0
- package/v1/types/operations/kinds/Ballot.d.ts +9 -0
- package/v1/types/operations/kinds/Ballot.js +3 -0
- package/v1/types/operations/kinds/Ballot.js.map +1 -0
- package/v1/types/operations/kinds/Delegation.d.ts +11 -0
- package/v1/types/operations/kinds/Delegation.js +3 -0
- package/v1/types/operations/kinds/Delegation.js.map +1 -0
- package/v1/types/operations/kinds/DoubleBakingEvidence.d.ts +8 -0
- package/v1/types/operations/kinds/DoubleBakingEvidence.js +3 -0
- package/v1/types/operations/kinds/DoubleBakingEvidence.js.map +1 -0
- package/v1/types/operations/kinds/DoubleEndorsementEvidence.d.ts +16 -0
- package/v1/types/operations/kinds/DoubleEndorsementEvidence.js +3 -0
- package/v1/types/operations/kinds/DoubleEndorsementEvidence.js.map +1 -0
- package/v1/types/operations/kinds/Endorsement.d.ts +6 -0
- package/v1/types/operations/kinds/Endorsement.js +3 -0
- package/v1/types/operations/kinds/Endorsement.js.map +1 -0
- package/v1/types/operations/kinds/Origination.d.ts +13 -0
- package/v1/types/operations/kinds/Origination.js +3 -0
- package/v1/types/operations/kinds/Origination.js.map +1 -0
- package/v1/types/operations/kinds/Proposal.d.ts +7 -0
- package/v1/types/operations/kinds/Proposal.js +3 -0
- package/v1/types/operations/kinds/Proposal.js.map +1 -0
- package/v1/types/operations/kinds/Reveal.d.ts +11 -0
- package/v1/types/operations/kinds/Reveal.js +3 -0
- package/v1/types/operations/kinds/Reveal.js.map +1 -0
- package/v1/types/operations/kinds/SeedNonceRevelation.d.ts +7 -0
- package/v1/types/operations/kinds/SeedNonceRevelation.js +3 -0
- package/v1/types/operations/kinds/SeedNonceRevelation.js.map +1 -0
- package/v1/types/operations/kinds/TezosOperation.d.ts +4 -0
- package/v1/types/operations/kinds/TezosOperation.js +3 -0
- package/v1/types/operations/kinds/TezosOperation.js.map +1 -0
- package/v1/types/operations/kinds/Transaction.d.ts +24 -0
- package/v1/types/operations/kinds/Transaction.js +3 -0
- package/v1/types/operations/kinds/Transaction.js.map +1 -0
- package/v1/types/protocol.d.ts +77 -0
- package/v1/types/protocol.js +3 -0
- package/v1/types/protocol.js.map +1 -0
- package/v1/types/sapling/TezosSaplingCiphertext.d.ts +8 -0
- package/v1/types/sapling/TezosSaplingCiphertext.js +3 -0
- package/v1/types/sapling/TezosSaplingCiphertext.js.map +1 -0
- package/v1/types/sapling/TezosSaplingExternalMethodProvider.d.ts +10 -0
- package/v1/types/sapling/TezosSaplingExternalMethodProvider.js +3 -0
- package/v1/types/sapling/TezosSaplingExternalMethodProvider.js.map +1 -0
- package/v1/types/sapling/TezosSaplingInput.d.ts +6 -0
- package/v1/types/sapling/TezosSaplingInput.js +3 -0
- package/v1/types/sapling/TezosSaplingInput.js.map +1 -0
- package/v1/types/sapling/TezosSaplingOutput.d.ts +6 -0
- package/v1/types/sapling/TezosSaplingOutput.js +3 -0
- package/v1/types/sapling/TezosSaplingOutput.js.map +1 -0
- package/v1/types/sapling/TezosSaplingStateDiff.d.ts +6 -0
- package/v1/types/sapling/TezosSaplingStateDiff.js +3 -0
- package/v1/types/sapling/TezosSaplingStateDiff.js.map +1 -0
- package/v1/types/sapling/TezosSaplingStateTree.d.ts +7 -0
- package/v1/types/sapling/TezosSaplingStateTree.js +3 -0
- package/v1/types/sapling/TezosSaplingStateTree.js.map +1 -0
- package/v1/types/sapling/TezosSaplingTransaction.d.ts +23 -0
- package/v1/types/sapling/TezosSaplingTransaction.js +3 -0
- package/v1/types/sapling/TezosSaplingTransaction.js.map +1 -0
- package/v1/types/sapling/TezosSaplingTransactionCursor.d.ts +3 -0
- package/v1/types/sapling/TezosSaplingTransactionCursor.js +3 -0
- package/v1/types/sapling/TezosSaplingTransactionCursor.js.map +1 -0
- package/v1/types/sapling/TezosSaplingTransactionResult.d.ts +6 -0
- package/v1/types/sapling/TezosSaplingTransactionResult.js +3 -0
- package/v1/types/sapling/TezosSaplingTransactionResult.js.map +1 -0
- package/v1/types/staking/BakerDetails.d.ts +11 -0
- package/v1/types/staking/BakerDetails.js +3 -0
- package/v1/types/staking/BakerDetails.js.map +1 -0
- package/v1/types/staking/TezosDelegatorAction.d.ts +8 -0
- package/v1/types/staking/TezosDelegatorAction.js +13 -0
- package/v1/types/staking/TezosDelegatorAction.js.map +1 -0
- package/v1/types/transaction.d.ts +30 -0
- package/v1/types/transaction.js +3 -0
- package/v1/types/transaction.js.map +1 -0
- package/v1/utils/address.d.ts +2 -0
- package/v1/utils/address.js +13 -0
- package/v1/utils/address.js.map +1 -0
- package/v1/utils/bip.d.ts +2 -0
- package/v1/utils/bip.js +14 -0
- package/v1/utils/bip.js.map +1 -0
- package/v1/utils/convert.d.ts +4 -0
- package/v1/utils/convert.js +33 -0
- package/v1/utils/convert.js.map +1 -0
- package/v1/utils/encoding.d.ts +52 -0
- package/v1/utils/encoding.js +104 -0
- package/v1/utils/encoding.js.map +1 -0
- package/v1/utils/fa.d.ts +2 -0
- package/v1/utils/fa.js +13 -0
- package/v1/utils/fa.js.map +1 -0
- package/v1/utils/key.d.ts +4 -0
- package/v1/utils/key.js +43 -0
- package/v1/utils/key.js.map +1 -0
- package/v1/utils/micheline.d.ts +8 -0
- package/v1/utils/micheline.js +41 -0
- package/v1/utils/micheline.js.map +1 -0
- package/v1/utils/operations.d.ts +12 -0
- package/v1/utils/operations.js +72 -0
- package/v1/utils/operations.js.map +1 -0
- package/v1/utils/pack.d.ts +10 -0
- package/v1/utils/pack.js +251 -0
- package/v1/utils/pack.js.map +1 -0
- package/v1/utils/protocol/fa/TezosFA1Accountant.d.ts +9 -0
- package/v1/utils/protocol/fa/TezosFA1Accountant.js +76 -0
- package/v1/utils/protocol/fa/TezosFA1Accountant.js.map +1 -0
- package/v1/utils/protocol/fa/TezosFA2Accountant.d.ts +12 -0
- package/v1/utils/protocol/fa/TezosFA2Accountant.js +113 -0
- package/v1/utils/protocol/fa/TezosFA2Accountant.js.map +1 -0
- package/v1/utils/protocol/fa/TezosFAAccountant.d.ts +8 -0
- package/v1/utils/protocol/fa/TezosFAAccountant.js +95 -0
- package/v1/utils/protocol/fa/TezosFAAccountant.js.map +1 -0
- package/v1/utils/protocol/instance.d.ts +19 -0
- package/v1/utils/protocol/instance.js +49 -0
- package/v1/utils/protocol/instance.js.map +1 -0
- package/v1/utils/protocol/sapling/TezosSaplingAccountant.d.ts +32 -0
- package/v1/utils/protocol/sapling/TezosSaplingAccountant.js +589 -0
- package/v1/utils/protocol/sapling/TezosSaplingAccountant.js.map +1 -0
- package/v1/utils/protocol/sapling/TezosSaplingEncoder.d.ts +22 -0
- package/v1/utils/protocol/sapling/TezosSaplingEncoder.js +158 -0
- package/v1/utils/protocol/sapling/TezosSaplingEncoder.js.map +1 -0
- package/v1/utils/protocol/sapling/TezosSaplingForger.d.ts +27 -0
- package/v1/utils/protocol/sapling/TezosSaplingForger.js +304 -0
- package/v1/utils/protocol/sapling/TezosSaplingForger.js.map +1 -0
- package/v1/utils/protocol/sapling/TezosSaplingState.d.ts +17 -0
- package/v1/utils/protocol/sapling/TezosSaplingState.js +266 -0
- package/v1/utils/protocol/sapling/TezosSaplingState.js.map +1 -0
- package/v1/utils/protocol/tezos/TezosAccountant.d.ts +14 -0
- package/v1/utils/protocol/tezos/TezosAccountant.js +177 -0
- package/v1/utils/protocol/tezos/TezosAccountant.js.map +1 -0
- package/v1/utils/protocol/tezos/TezosForger.d.ts +6 -0
- package/v1/utils/protocol/tezos/TezosForger.js +84 -0
- package/v1/utils/protocol/tezos/TezosForger.js.map +1 -0
- package/v1/utils/signature.d.ts +2 -0
- package/v1/utils/signature.js +23 -0
- package/v1/utils/signature.js.map +1 -0
- package/v1/utils/transaction.d.ts +9 -0
- package/v1/utils/transaction.js +26 -0
- package/v1/utils/transaction.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingAddressResult.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingAddressResult.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingCiphertext.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingCiphertext.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingInput.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingInput.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingOutput.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingOutput.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingStateDiff.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingStateDiff.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingStateTree.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingStateTree.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import BigNumber from '@wallfree-dev/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber';
|
|
3
|
+
import { TezosSaplingCiphertext } from './TezosSaplingCiphertext';
|
|
4
|
+
export interface TezosSaplingSpendDescription {
|
|
5
|
+
cv: Buffer;
|
|
6
|
+
nf: Buffer;
|
|
7
|
+
rk: Buffer;
|
|
8
|
+
proof: Buffer;
|
|
9
|
+
signature: Buffer;
|
|
10
|
+
}
|
|
11
|
+
export interface TezosSaplingOutputDescription {
|
|
12
|
+
cm: Buffer;
|
|
13
|
+
proof: Buffer;
|
|
14
|
+
ciphertext: TezosSaplingCiphertext;
|
|
15
|
+
}
|
|
16
|
+
export interface TezosSaplingTransaction {
|
|
17
|
+
spendDescriptions: TezosSaplingSpendDescription[];
|
|
18
|
+
outputDescriptions: TezosSaplingOutputDescription[];
|
|
19
|
+
bindingSignature: Buffer;
|
|
20
|
+
balance: BigNumber;
|
|
21
|
+
root: string;
|
|
22
|
+
boundData: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingTransaction.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingTransaction.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingTransactionCursor.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingTransactionCursor.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IAirGapTransaction } from '@wallfree-dev/coinlib-core/interfaces/IAirGapTransaction';
|
|
2
|
+
import { TezosSaplingTransactionCursor } from './TezosSaplingTransactionCursor';
|
|
3
|
+
export interface TezosSaplingTransactionResult {
|
|
4
|
+
transactions: IAirGapTransaction[];
|
|
5
|
+
cursor: TezosSaplingTransactionCursor;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosSaplingTransactionResult.js","sourceRoot":"","sources":["../../../../../src/v0/protocol/types/sapling/TezosSaplingTransactionResult.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MichelineNode, MichelinePrimitive, MichelinePrimitiveApplication } from './micheline/MichelineNode';
|
|
2
|
+
import { MichelsonGrammarData } from './michelson/grammar/MichelsonGrammarData';
|
|
3
|
+
import { MichelsonGrammarType } from './michelson/grammar/MichelsonGrammarType';
|
|
4
|
+
export declare function isMichelineNode(node: unknown): node is MichelineNode;
|
|
5
|
+
export declare function isMichelinePrimitive<T extends 'int' | 'string' | 'bytes'>(type: T, node: unknown): node is MichelinePrimitive<T>;
|
|
6
|
+
export declare function isAnyMichelinePrimitiveApplication(node: unknown): node is MichelinePrimitiveApplication<any>;
|
|
7
|
+
export declare function isMichelinePrimitiveApplication<T extends MichelsonGrammarType | MichelsonGrammarData>(type: T, node: unknown): node is MichelinePrimitiveApplication<T>;
|
|
8
|
+
export declare function isMichelineSequence(node: unknown, recursive?: boolean): node is MichelineNode[];
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isMichelineSequence = exports.isMichelinePrimitiveApplication = exports.isAnyMichelinePrimitiveApplication = exports.isMichelinePrimitive = exports.isMichelineNode = void 0;
|
|
4
|
+
function isMichelineNode(node) {
|
|
5
|
+
return isMichelineNodeRecursive(node, 0);
|
|
6
|
+
}
|
|
7
|
+
exports.isMichelineNode = isMichelineNode;
|
|
8
|
+
function isMichelineNodeRecursive(node, recursionLevel) {
|
|
9
|
+
return (isMichelinePrimitive('int', node) ||
|
|
10
|
+
isMichelinePrimitive('string', node) ||
|
|
11
|
+
isMichelinePrimitive('bytes', node) ||
|
|
12
|
+
isAnyMichelinePrimitiveApplication(node) ||
|
|
13
|
+
isMichelineSequenceRecursive(node, recursionLevel));
|
|
14
|
+
}
|
|
15
|
+
function isMichelinePrimitive(type, node) {
|
|
16
|
+
return node instanceof Object && type in node;
|
|
17
|
+
}
|
|
18
|
+
exports.isMichelinePrimitive = isMichelinePrimitive;
|
|
19
|
+
function isAnyMichelinePrimitiveApplication(node) {
|
|
20
|
+
return node instanceof Object && 'prim' in node;
|
|
21
|
+
}
|
|
22
|
+
exports.isAnyMichelinePrimitiveApplication = isAnyMichelinePrimitiveApplication;
|
|
23
|
+
function isMichelinePrimitiveApplication(type, node) {
|
|
24
|
+
return isAnyMichelinePrimitiveApplication(node) && node.prim === type;
|
|
25
|
+
}
|
|
26
|
+
exports.isMichelinePrimitiveApplication = isMichelinePrimitiveApplication;
|
|
27
|
+
var MICHELINE_MAX_CHECK_RECURSION_DEPTH = 1;
|
|
28
|
+
function isMichelineSequence(node, recursive) {
|
|
29
|
+
if (recursive === void 0) { recursive = true; }
|
|
30
|
+
return isMichelineSequenceRecursive(node, recursive ? 0 : MICHELINE_MAX_CHECK_RECURSION_DEPTH + 1);
|
|
31
|
+
}
|
|
32
|
+
exports.isMichelineSequence = isMichelineSequence;
|
|
33
|
+
function isMichelineSequenceRecursive(node, recursionLevel) {
|
|
34
|
+
return (Array.isArray(node) &&
|
|
35
|
+
(node.length === 0 ||
|
|
36
|
+
// for simplicity and to avoid too many recursive calls for complex structures
|
|
37
|
+
// after the `MAX_CHECK_RECURSION_DEPTH`th level has been reached, we assume every array is a valid Micheline sequence
|
|
38
|
+
recursionLevel > MICHELINE_MAX_CHECK_RECURSION_DEPTH ||
|
|
39
|
+
node.every(function (element) { return isMichelineNodeRecursive(element, recursionLevel + 1); })));
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/v0/protocol/types/utils.ts"],"names":[],"mappings":";;;AAIA,SAAgB,eAAe,CAAC,IAAa;IAC3C,OAAO,wBAAwB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;AAC1C,CAAC;AAFD,0CAEC;AAED,SAAS,wBAAwB,CAAC,IAAa,EAAE,cAAsB;IACrE,OAAO,CACL,oBAAoB,CAAC,KAAK,EAAE,IAAI,CAAC;QACjC,oBAAoB,CAAC,QAAQ,EAAE,IAAI,CAAC;QACpC,oBAAoB,CAAC,OAAO,EAAE,IAAI,CAAC;QACnC,kCAAkC,CAAC,IAAI,CAAC;QACxC,4BAA4B,CAAC,IAAI,EAAE,cAAc,CAAC,CACnD,CAAA;AACH,CAAC;AAED,SAAgB,oBAAoB,CAAuC,IAAO,EAAE,IAAa;IAC/F,OAAO,IAAI,YAAY,MAAM,IAAI,IAAI,IAAI,IAAI,CAAA;AAC/C,CAAC;AAFD,oDAEC;AAED,SAAgB,kCAAkC,CAAC,IAAa;IAC9D,OAAO,IAAI,YAAY,MAAM,IAAI,MAAM,IAAI,IAAI,CAAA;AACjD,CAAC;AAFD,gFAEC;AAED,SAAgB,+BAA+B,CAC7C,IAAO,EACP,IAAa;IAEb,OAAO,kCAAkC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAA;AACvE,CAAC;AALD,0EAKC;AAED,IAAM,mCAAmC,GAAW,CAAC,CAAA;AACrD,SAAgB,mBAAmB,CAAC,IAAa,EAAE,SAAyB;IAAzB,0BAAA,EAAA,gBAAyB;IAC1E,OAAO,4BAA4B,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mCAAmC,GAAG,CAAC,CAAC,CAAA;AACpG,CAAC;AAFD,kDAEC;AAED,SAAS,4BAA4B,CAAC,IAAa,EAAE,cAAsB;IACzE,OAAO,CACL,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QACnB,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC;YAChB,8EAA8E;YAC9E,sHAAsH;YACtH,cAAc,GAAG,mCAAmC;YACpD,IAAI,CAAC,KAAK,CAAC,UAAC,OAAgB,IAAK,OAAA,wBAAwB,CAAC,OAAO,EAAE,cAAc,GAAG,CAAC,CAAC,EAArD,CAAqD,CAAC,CAAC,CAC3F,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/UnsignedTezosSaplingTransaction",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"UnsignedTezosSaplingTransaction": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"callbackURL": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"publicKey": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"transaction": {
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"properties": {
|
|
17
|
+
"callParameters": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"chainId": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"ins": {
|
|
24
|
+
"items": {
|
|
25
|
+
"additionalProperties": false,
|
|
26
|
+
"properties": {
|
|
27
|
+
"address": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"pos": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"rcm": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"value": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["rcm", "pos", "value", "address"],
|
|
41
|
+
"type": "object"
|
|
42
|
+
},
|
|
43
|
+
"type": "array"
|
|
44
|
+
},
|
|
45
|
+
"outs": {
|
|
46
|
+
"items": {
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"properties": {
|
|
49
|
+
"address": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"memo": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"value": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": ["address", "value", "memo"],
|
|
60
|
+
"type": "object"
|
|
61
|
+
},
|
|
62
|
+
"type": "array"
|
|
63
|
+
},
|
|
64
|
+
"stateDiff": {
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"properties": {
|
|
67
|
+
"commitments_and_ciphertexts": {
|
|
68
|
+
"items": {
|
|
69
|
+
"items": [
|
|
70
|
+
{
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"additionalProperties": false,
|
|
75
|
+
"properties": {
|
|
76
|
+
"cv": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"epk": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"nonce_enc": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"nonce_out": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"payload_enc": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"payload_out": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": ["cv", "epk", "payload_enc", "nonce_enc", "payload_out", "nonce_out"],
|
|
96
|
+
"type": "object"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"maxItems": 2,
|
|
100
|
+
"minItems": 2,
|
|
101
|
+
"type": "array"
|
|
102
|
+
},
|
|
103
|
+
"type": "array"
|
|
104
|
+
},
|
|
105
|
+
"nullifiers": {
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"type": "array"
|
|
110
|
+
},
|
|
111
|
+
"root": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": ["root", "commitments_and_ciphertexts", "nullifiers"],
|
|
116
|
+
"type": "object"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": ["ins", "outs", "chainId", "stateDiff", "callParameters"],
|
|
120
|
+
"type": "object"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": ["publicKey", "transaction"],
|
|
124
|
+
"type": "object"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/UnsignedTezosTransaction",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"UnsignedTezosTransaction": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"callbackURL": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"publicKey": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"transaction": {
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"properties": {
|
|
17
|
+
"binaryTransaction": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["binaryTransaction"],
|
|
22
|
+
"type": "object"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": ["publicKey", "transaction"],
|
|
26
|
+
"type": "object"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SignedTezosSaplingTransaction",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"SignedTezosSaplingTransaction": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"accountIdentifier": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"transaction": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["accountIdentifier", "transaction"],
|
|
16
|
+
"type": "object"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SignedTezosTransaction",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"SignedTezosTransaction": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"accountIdentifier": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"transaction": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["accountIdentifier", "transaction"],
|
|
16
|
+
"type": "object"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/UnsignedTezosSaplingTransaction",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"UnsignedTezosSaplingTransaction": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"callbackURL": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"publicKey": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"transaction": {
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"properties": {
|
|
17
|
+
"chainId": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"contractAddress": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"ins": {
|
|
24
|
+
"items": {
|
|
25
|
+
"additionalProperties": false,
|
|
26
|
+
"properties": {
|
|
27
|
+
"address": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"pos": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"rcm": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"value": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["rcm", "pos", "value", "address"],
|
|
41
|
+
"type": "object"
|
|
42
|
+
},
|
|
43
|
+
"type": "array"
|
|
44
|
+
},
|
|
45
|
+
"outs": {
|
|
46
|
+
"items": {
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"properties": {
|
|
49
|
+
"address": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"browsable": {
|
|
53
|
+
"type": "boolean"
|
|
54
|
+
},
|
|
55
|
+
"memo": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"value": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": ["address", "value", "memo", "browsable"],
|
|
63
|
+
"type": "object"
|
|
64
|
+
},
|
|
65
|
+
"type": "array"
|
|
66
|
+
},
|
|
67
|
+
"stateDiff": {
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"properties": {
|
|
70
|
+
"commitments_and_ciphertexts": {
|
|
71
|
+
"items": {
|
|
72
|
+
"items": [
|
|
73
|
+
{
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"properties": {
|
|
79
|
+
"cv": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"epk": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"nonce_enc": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"nonce_out": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"payload_enc": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"payload_out": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": ["cv", "epk", "payload_enc", "nonce_enc", "payload_out", "nonce_out"],
|
|
99
|
+
"type": "object"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"maxItems": 2,
|
|
103
|
+
"minItems": 2,
|
|
104
|
+
"type": "array"
|
|
105
|
+
},
|
|
106
|
+
"type": "array"
|
|
107
|
+
},
|
|
108
|
+
"nullifiers": {
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"type": "array"
|
|
113
|
+
},
|
|
114
|
+
"root": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"required": ["root", "commitments_and_ciphertexts", "nullifiers"],
|
|
119
|
+
"type": "object"
|
|
120
|
+
},
|
|
121
|
+
"unshieldTarget": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": ["ins", "outs", "contractAddress", "chainId", "stateDiff", "unshieldTarget"],
|
|
126
|
+
"type": "object"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"required": ["publicKey", "transaction"],
|
|
130
|
+
"type": "object"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/UnsignedTezosTransaction",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"UnsignedTezosTransaction": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"callbackURL": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"publicKey": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"transaction": {
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"properties": {
|
|
17
|
+
"binaryTransaction": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["binaryTransaction"],
|
|
22
|
+
"type": "object"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": ["publicKey", "transaction"],
|
|
26
|
+
"type": "object"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SignedTezosSaplingTransaction",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"SignedTezosSaplingTransaction": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"accountIdentifier": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"transaction": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["accountIdentifier", "transaction"],
|
|
16
|
+
"type": "object"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SignedTezosTransaction",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"SignedTezosTransaction": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"accountIdentifier": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"transaction": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["accountIdentifier", "transaction"],
|
|
16
|
+
"type": "object"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TransactionValidator, TransactionValidatorFactory, TransactionValidatorFactoryV2, TransactionValidatorV2 } from '@wallfree-dev/serializer';
|
|
2
|
+
import { SignedTezosTransaction } from '../../types/signed-transaction-tezos';
|
|
3
|
+
import { UnsignedTezosTransaction } from '../../types/unsigned-transaction-tezos';
|
|
4
|
+
export declare class TezosTransactionValidator implements TransactionValidator, TransactionValidatorV2 {
|
|
5
|
+
private readonly version;
|
|
6
|
+
constructor(version?: 'v2' | 'v3');
|
|
7
|
+
validateUnsignedTransaction(unsignedTx: UnsignedTezosTransaction): Promise<any>;
|
|
8
|
+
validateSignedTransaction(signedTx: SignedTezosTransaction): Promise<any>;
|
|
9
|
+
}
|
|
10
|
+
export declare class TezosTransactionValidatorFactory implements TransactionValidatorFactory<TezosTransactionValidator> {
|
|
11
|
+
create(): TezosTransactionValidator;
|
|
12
|
+
}
|
|
13
|
+
export declare class TezosTransactionValidatorFactoryV2 implements TransactionValidatorFactoryV2<TezosTransactionValidator> {
|
|
14
|
+
create(): TezosTransactionValidator;
|
|
15
|
+
}
|