@airgap/tezos 0.13.7-beta.11
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/actions/GetKtAccountsAction.d.ts +8 -0
- package/actions/GetKtAccountsAction.js +85 -0
- package/actions/GetKtAccountsAction.js.map +1 -0
- package/airgap-coinlib-tezos.min.js +103587 -0
- package/constants.d.ts +18 -0
- package/constants.js +28 -0
- package/constants.js.map +1 -0
- package/index.d.ts +46 -0
- package/index.js +103 -0
- package/index.js.map +1 -0
- package/package.json +70 -0
- package/protocol/TezosAddress.d.ts +11 -0
- package/protocol/TezosAddress.js +102 -0
- package/protocol/TezosAddress.js.map +1 -0
- package/protocol/TezosCryptoClient.d.ts +15 -0
- package/protocol/TezosCryptoClient.js +152 -0
- package/protocol/TezosCryptoClient.js.map +1 -0
- package/protocol/TezosProtocol.d.ts +349 -0
- package/protocol/TezosProtocol.js +1853 -0
- package/protocol/TezosProtocol.js.map +1 -0
- package/protocol/TezosProtocolOptions.d.ts +29 -0
- package/protocol/TezosProtocolOptions.js +114 -0
- package/protocol/TezosProtocolOptions.js.map +1 -0
- package/protocol/TezosUtils.d.ts +40 -0
- package/protocol/TezosUtils.js +296 -0
- package/protocol/TezosUtils.js.map +1 -0
- package/protocol/contract/TezosContract.d.ts +52 -0
- package/protocol/contract/TezosContract.js +509 -0
- package/protocol/contract/TezosContract.js.map +1 -0
- package/protocol/contract/TezosContractCall.d.ts +10 -0
- package/protocol/contract/TezosContractCall.js +23 -0
- package/protocol/contract/TezosContractCall.js.map +1 -0
- package/protocol/contract/TezosContractEntrypoint.d.ts +8 -0
- package/protocol/contract/TezosContractEntrypoint.js +27 -0
- package/protocol/contract/TezosContractEntrypoint.js.map +1 -0
- package/protocol/contract/TezosContractStorage.d.ts +7 -0
- package/protocol/contract/TezosContractStorage.js +16 -0
- package/protocol/contract/TezosContractStorage.js.map +1 -0
- package/protocol/contract/remote-data/TezosContractRemoteDataFactory.d.ts +11 -0
- package/protocol/contract/remote-data/TezosContractRemoteDataFactory.js +34 -0
- package/protocol/contract/remote-data/TezosContractRemoteDataFactory.js.map +1 -0
- package/protocol/contract/remote-data/TezosStorageRemoteData.d.ts +12 -0
- package/protocol/contract/remote-data/TezosStorageRemoteData.js +151 -0
- package/protocol/contract/remote-data/TezosStorageRemoteData.js.map +1 -0
- package/protocol/domains/TezosDomains.d.ts +20 -0
- package/protocol/domains/TezosDomains.js +306 -0
- package/protocol/domains/TezosDomains.js.map +1 -0
- package/protocol/fa/TezosBTC.d.ts +12 -0
- package/protocol/fa/TezosBTC.js +107 -0
- package/protocol/fa/TezosBTC.js.map +1 -0
- package/protocol/fa/TezosBTCtez.d.ts +10 -0
- package/protocol/fa/TezosBTCtez.js +54 -0
- package/protocol/fa/TezosBTCtez.js.map +1 -0
- package/protocol/fa/TezosCTez.d.ts +10 -0
- package/protocol/fa/TezosCTez.js +51 -0
- package/protocol/fa/TezosCTez.js.map +1 -0
- package/protocol/fa/TezosDOGA.d.ts +10 -0
- package/protocol/fa/TezosDOGA.js +51 -0
- package/protocol/fa/TezosDOGA.js.map +1 -0
- package/protocol/fa/TezosETHtz.d.ts +9 -0
- package/protocol/fa/TezosETHtz.js +72 -0
- package/protocol/fa/TezosETHtz.js.map +1 -0
- package/protocol/fa/TezosFA1Protocol.d.ts +27 -0
- package/protocol/fa/TezosFA1Protocol.js +310 -0
- package/protocol/fa/TezosFA1Protocol.js.map +1 -0
- package/protocol/fa/TezosFA1p2Protocol.d.ts +8 -0
- package/protocol/fa/TezosFA1p2Protocol.js +117 -0
- package/protocol/fa/TezosFA1p2Protocol.js.map +1 -0
- package/protocol/fa/TezosFA2Protocol.d.ts +58 -0
- package/protocol/fa/TezosFA2Protocol.js +449 -0
- package/protocol/fa/TezosFA2Protocol.js.map +1 -0
- package/protocol/fa/TezosFAProtocol.d.ts +65 -0
- package/protocol/fa/TezosFAProtocol.js +510 -0
- package/protocol/fa/TezosFAProtocol.js.map +1 -0
- package/protocol/fa/TezosFAProtocolOptions.d.ts +54 -0
- package/protocol/fa/TezosFAProtocolOptions.js +228 -0
- package/protocol/fa/TezosFAProtocolOptions.js.map +1 -0
- package/protocol/fa/TezosKolibriUSD.d.ts +10 -0
- package/protocol/fa/TezosKolibriUSD.js +74 -0
- package/protocol/fa/TezosKolibriUSD.js.map +1 -0
- package/protocol/fa/TezosPlanty.d.ts +10 -0
- package/protocol/fa/TezosPlanty.js +51 -0
- package/protocol/fa/TezosPlanty.js.map +1 -0
- package/protocol/fa/TezosQUIPU.d.ts +10 -0
- package/protocol/fa/TezosQUIPU.js +54 -0
- package/protocol/fa/TezosQUIPU.js.map +1 -0
- package/protocol/fa/TezosSIRS.d.ts +10 -0
- package/protocol/fa/TezosSIRS.js +51 -0
- package/protocol/fa/TezosSIRS.js.map +1 -0
- package/protocol/fa/TezosStaker.d.ts +10 -0
- package/protocol/fa/TezosStaker.js +74 -0
- package/protocol/fa/TezosStaker.js.map +1 -0
- package/protocol/fa/TezosUBTC.d.ts +10 -0
- package/protocol/fa/TezosUBTC.js +54 -0
- package/protocol/fa/TezosUBTC.js.map +1 -0
- package/protocol/fa/TezosUDEFI.d.ts +10 -0
- package/protocol/fa/TezosUDEFI.js +54 -0
- package/protocol/fa/TezosUDEFI.js.map +1 -0
- package/protocol/fa/TezosUSD.d.ts +10 -0
- package/protocol/fa/TezosUSD.js +74 -0
- package/protocol/fa/TezosUSD.js.map +1 -0
- package/protocol/fa/TezosUSDT.d.ts +10 -0
- package/protocol/fa/TezosUSDT.js +54 -0
- package/protocol/fa/TezosUSDT.js.map +1 -0
- package/protocol/fa/TezosUUSD.d.ts +6 -0
- package/protocol/fa/TezosUUSD.js +31 -0
- package/protocol/fa/TezosUUSD.js.map +1 -0
- package/protocol/fa/TezosWRAP.d.ts +10 -0
- package/protocol/fa/TezosWRAP.js +54 -0
- package/protocol/fa/TezosWRAP.js.map +1 -0
- package/protocol/fa/TezosWrapped.d.ts +10 -0
- package/protocol/fa/TezosWrapped.js +74 -0
- package/protocol/fa/TezosWrapped.js.map +1 -0
- package/protocol/fa/TezosYOU.d.ts +6 -0
- package/protocol/fa/TezosYOU.js +31 -0
- package/protocol/fa/TezosYOU.js.map +1 -0
- package/protocol/indexerClient/TezosIndexerClient.d.ts +25 -0
- package/protocol/indexerClient/TezosIndexerClient.js +251 -0
- package/protocol/indexerClient/TezosIndexerClient.js.map +1 -0
- package/protocol/indexerClient/TezosProtocolIndexerClient.d.ts +26 -0
- package/protocol/indexerClient/TezosProtocolIndexerClient.js +3 -0
- package/protocol/indexerClient/TezosProtocolIndexerClient.js.map +1 -0
- package/protocol/kt/TezosKtAddress.d.ts +5 -0
- package/protocol/kt/TezosKtAddress.js +72 -0
- package/protocol/kt/TezosKtAddress.js.map +1 -0
- package/protocol/kt/TezosKtProtocol.d.ts +30 -0
- package/protocol/kt/TezosKtProtocol.js +317 -0
- package/protocol/kt/TezosKtProtocol.js.map +1 -0
- package/protocol/sapling/TezosSaplingAddress.d.ts +12 -0
- package/protocol/sapling/TezosSaplingAddress.js +134 -0
- package/protocol/sapling/TezosSaplingAddress.js.map +1 -0
- package/protocol/sapling/TezosSaplingCryptoClient.d.ts +34 -0
- package/protocol/sapling/TezosSaplingCryptoClient.js +241 -0
- package/protocol/sapling/TezosSaplingCryptoClient.js.map +1 -0
- package/protocol/sapling/TezosSaplingProtocol.d.ts +130 -0
- package/protocol/sapling/TezosSaplingProtocol.js +1101 -0
- package/protocol/sapling/TezosSaplingProtocol.js.map +1 -0
- package/protocol/sapling/TezosSaplingProtocolOptions.d.ts +43 -0
- package/protocol/sapling/TezosSaplingProtocolOptions.js +78 -0
- package/protocol/sapling/TezosSaplingProtocolOptions.js.map +1 -0
- package/protocol/sapling/TezosShieldedTezProtocol.d.ts +9 -0
- package/protocol/sapling/TezosShieldedTezProtocol.js +109 -0
- package/protocol/sapling/TezosShieldedTezProtocol.js.map +1 -0
- package/protocol/sapling/node/TezosSaplingNodeClient.d.ts +8 -0
- package/protocol/sapling/node/TezosSaplingNodeClient.js +78 -0
- package/protocol/sapling/node/TezosSaplingNodeClient.js.map +1 -0
- package/protocol/sapling/utils/TezosSaplingBookkeeper.d.ts +34 -0
- package/protocol/sapling/utils/TezosSaplingBookkeeper.js +586 -0
- package/protocol/sapling/utils/TezosSaplingBookkeeper.js.map +1 -0
- package/protocol/sapling/utils/TezosSaplingEncoder.d.ts +22 -0
- package/protocol/sapling/utils/TezosSaplingEncoder.js +158 -0
- package/protocol/sapling/utils/TezosSaplingEncoder.js.map +1 -0
- package/protocol/sapling/utils/TezosSaplingForger.d.ts +26 -0
- package/protocol/sapling/utils/TezosSaplingForger.js +278 -0
- package/protocol/sapling/utils/TezosSaplingForger.js.map +1 -0
- package/protocol/sapling/utils/TezosSaplingState.d.ts +17 -0
- package/protocol/sapling/utils/TezosSaplingState.js +260 -0
- package/protocol/sapling/utils/TezosSaplingState.js.map +1 -0
- package/protocol/types/TezosAddressCursor.d.ts +3 -0
- package/protocol/types/TezosAddressCursor.js +3 -0
- package/protocol/types/TezosAddressCursor.js.map +1 -0
- package/protocol/types/TezosAddressResult.d.ts +4 -0
- package/protocol/types/TezosAddressResult.js +3 -0
- package/protocol/types/TezosAddressResult.js.map +1 -0
- package/protocol/types/TezosBlockHeader.d.ts +13 -0
- package/protocol/types/TezosBlockHeader.js +3 -0
- package/protocol/types/TezosBlockHeader.js.map +1 -0
- package/protocol/types/TezosBlockMetadata.d.ts +7 -0
- package/protocol/types/TezosBlockMetadata.js +3 -0
- package/protocol/types/TezosBlockMetadata.js.map +1 -0
- package/protocol/types/TezosContractCode.d.ts +5 -0
- package/protocol/types/TezosContractCode.js +3 -0
- package/protocol/types/TezosContractCode.js.map +1 -0
- package/protocol/types/TezosOperationType.d.ts +13 -0
- package/protocol/types/TezosOperationType.js +18 -0
- package/protocol/types/TezosOperationType.js.map +1 -0
- package/protocol/types/TezosTransactionCursor.d.ts +3 -0
- package/protocol/types/TezosTransactionCursor.js +3 -0
- package/protocol/types/TezosTransactionCursor.js.map +1 -0
- package/protocol/types/TezosTransactionResult.d.ts +6 -0
- package/protocol/types/TezosTransactionResult.js +3 -0
- package/protocol/types/TezosTransactionResult.js.map +1 -0
- package/protocol/types/TezosWrappedOperation.d.ts +5 -0
- package/protocol/types/TezosWrappedOperation.js +3 -0
- package/protocol/types/TezosWrappedOperation.js.map +1 -0
- package/protocol/types/contract/BigMap.d.ts +7 -0
- package/protocol/types/contract/BigMap.js +3 -0
- package/protocol/types/contract/BigMap.js.map +1 -0
- package/protocol/types/contract/BigMapEnrtyFilter.d.ts +5 -0
- package/protocol/types/contract/BigMapEnrtyFilter.js +3 -0
- package/protocol/types/contract/BigMapEnrtyFilter.js.map +1 -0
- package/protocol/types/contract/BigMapEntry.d.ts +7 -0
- package/protocol/types/contract/BigMapEntry.js +3 -0
- package/protocol/types/contract/BigMapEntry.js.map +1 -0
- package/protocol/types/contract/BigMapRequest.d.ts +8 -0
- package/protocol/types/contract/BigMapRequest.js +3 -0
- package/protocol/types/contract/BigMapRequest.js.map +1 -0
- package/protocol/types/contract/TezosContractMetadata.d.ts +61 -0
- package/protocol/types/contract/TezosContractMetadata.js +3 -0
- package/protocol/types/contract/TezosContractMetadata.js.map +1 -0
- package/protocol/types/domains/TezosDomainsRecord.d.ts +8 -0
- package/protocol/types/domains/TezosDomainsRecord.js +3 -0
- package/protocol/types/domains/TezosDomainsRecord.js.map +1 -0
- package/protocol/types/domains/TezosDomainsReverseRecord.d.ts +5 -0
- package/protocol/types/domains/TezosDomainsReverseRecord.js +3 -0
- package/protocol/types/domains/TezosDomainsReverseRecord.js.map +1 -0
- package/protocol/types/fa/TezosFA2BalanceOfRequest.d.ts +4 -0
- package/protocol/types/fa/TezosFA2BalanceOfRequest.js +3 -0
- package/protocol/types/fa/TezosFA2BalanceOfRequest.js.map +1 -0
- package/protocol/types/fa/TezosFA2BalanceOfResponse.d.ts +5 -0
- package/protocol/types/fa/TezosFA2BalanceOfResponse.js +3 -0
- package/protocol/types/fa/TezosFA2BalanceOfResponse.js.map +1 -0
- package/protocol/types/fa/TezosFA2TransferRequest.d.ts +8 -0
- package/protocol/types/fa/TezosFA2TransferRequest.js +3 -0
- package/protocol/types/fa/TezosFA2TransferRequest.js.map +1 -0
- package/protocol/types/fa/TezosFA2UpdateOperatorRequest.d.ts +6 -0
- package/protocol/types/fa/TezosFA2UpdateOperatorRequest.js +3 -0
- package/protocol/types/fa/TezosFA2UpdateOperatorRequest.js.map +1 -0
- package/protocol/types/fa/TezosFATokenMetadata.d.ts +6 -0
- package/protocol/types/fa/TezosFATokenMetadata.js +3 -0
- package/protocol/types/fa/TezosFATokenMetadata.js.map +1 -0
- package/protocol/types/kt/TezosKtAddressCursor.d.ts +4 -0
- package/protocol/types/kt/TezosKtAddressCursor.js +3 -0
- package/protocol/types/kt/TezosKtAddressCursor.js.map +1 -0
- package/protocol/types/kt/TezosKtAddressResult.d.ts +5 -0
- package/protocol/types/kt/TezosKtAddressResult.js +3 -0
- package/protocol/types/kt/TezosKtAddressResult.js.map +1 -0
- package/protocol/types/micheline/MichelineNode.d.ts +15 -0
- package/protocol/types/micheline/MichelineNode.js +5 -0
- package/protocol/types/micheline/MichelineNode.js.map +1 -0
- package/protocol/types/micheline/MichelineNodeUtils.d.ts +6 -0
- package/protocol/types/micheline/MichelineNodeUtils.js +40 -0
- package/protocol/types/micheline/MichelineNodeUtils.js.map +1 -0
- package/protocol/types/michelson/MichelsonType.d.ts +11 -0
- package/protocol/types/michelson/MichelsonType.js +22 -0
- package/protocol/types/michelson/MichelsonType.js.map +1 -0
- package/protocol/types/michelson/MichelsonTypeMeta.d.ts +33 -0
- package/protocol/types/michelson/MichelsonTypeMeta.js +132 -0
- package/protocol/types/michelson/MichelsonTypeMeta.js.map +1 -0
- package/protocol/types/michelson/MichelsonTypeUtils.d.ts +19 -0
- package/protocol/types/michelson/MichelsonTypeUtils.js +249 -0
- package/protocol/types/michelson/MichelsonTypeUtils.js.map +1 -0
- package/protocol/types/michelson/generics/MichelsonList.d.ts +11 -0
- package/protocol/types/michelson/generics/MichelsonList.js +68 -0
- package/protocol/types/michelson/generics/MichelsonList.js.map +1 -0
- package/protocol/types/michelson/generics/MichelsonMap.d.ts +14 -0
- package/protocol/types/michelson/generics/MichelsonMap.js +118 -0
- package/protocol/types/michelson/generics/MichelsonMap.js.map +1 -0
- package/protocol/types/michelson/generics/MichelsonOption.d.ts +25 -0
- package/protocol/types/michelson/generics/MichelsonOption.js +119 -0
- package/protocol/types/michelson/generics/MichelsonOption.js.map +1 -0
- package/protocol/types/michelson/generics/MichelsonOr.d.ts +25 -0
- package/protocol/types/michelson/generics/MichelsonOr.js +132 -0
- package/protocol/types/michelson/generics/MichelsonOr.js.map +1 -0
- package/protocol/types/michelson/generics/MichelsonPair.d.ts +17 -0
- package/protocol/types/michelson/generics/MichelsonPair.js +135 -0
- package/protocol/types/michelson/generics/MichelsonPair.js.map +1 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarData.d.ts +2 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarData.js +4 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarData.js.map +1 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarInstruction.d.ts +1 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarInstruction.js +4 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarInstruction.js.map +1 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarType.d.ts +1 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarType.js +4 -0
- package/protocol/types/michelson/grammar/MichelsonGrammarType.js.map +1 -0
- package/protocol/types/michelson/primitives/MichelsonAddress.d.ts +15 -0
- package/protocol/types/michelson/primitives/MichelsonAddress.js +72 -0
- package/protocol/types/michelson/primitives/MichelsonAddress.js.map +1 -0
- package/protocol/types/michelson/primitives/MichelsonBool.d.ts +12 -0
- package/protocol/types/michelson/primitives/MichelsonBool.js +57 -0
- package/protocol/types/michelson/primitives/MichelsonBool.js.map +1 -0
- package/protocol/types/michelson/primitives/MichelsonBytes.d.ts +14 -0
- package/protocol/types/michelson/primitives/MichelsonBytes.js +75 -0
- package/protocol/types/michelson/primitives/MichelsonBytes.js.map +1 -0
- package/protocol/types/michelson/primitives/MichelsonInt.d.ts +14 -0
- package/protocol/types/michelson/primitives/MichelsonInt.js +72 -0
- package/protocol/types/michelson/primitives/MichelsonInt.js.map +1 -0
- package/protocol/types/michelson/primitives/MichelsonString.d.ts +14 -0
- package/protocol/types/michelson/primitives/MichelsonString.js +74 -0
- package/protocol/types/michelson/primitives/MichelsonString.js.map +1 -0
- package/protocol/types/michelson/primitives/MichelsonUnit.d.ts +9 -0
- package/protocol/types/michelson/primitives/MichelsonUnit.js +53 -0
- package/protocol/types/michelson/primitives/MichelsonUnit.js.map +1 -0
- package/protocol/types/operations/ActivateAccount.d.ts +7 -0
- package/protocol/types/operations/ActivateAccount.js +3 -0
- package/protocol/types/operations/ActivateAccount.js.map +1 -0
- package/protocol/types/operations/Ballot.d.ts +9 -0
- package/protocol/types/operations/Ballot.js +3 -0
- package/protocol/types/operations/Ballot.js.map +1 -0
- package/protocol/types/operations/Delegation.d.ts +11 -0
- package/protocol/types/operations/Delegation.js +3 -0
- package/protocol/types/operations/Delegation.js.map +1 -0
- package/protocol/types/operations/DoubleBakingEvidence.d.ts +8 -0
- package/protocol/types/operations/DoubleBakingEvidence.js +3 -0
- package/protocol/types/operations/DoubleBakingEvidence.js.map +1 -0
- package/protocol/types/operations/DoubleEndorsementEvidence.d.ts +16 -0
- package/protocol/types/operations/DoubleEndorsementEvidence.js +3 -0
- package/protocol/types/operations/DoubleEndorsementEvidence.js.map +1 -0
- package/protocol/types/operations/Endorsement.d.ts +6 -0
- package/protocol/types/operations/Endorsement.js +3 -0
- package/protocol/types/operations/Endorsement.js.map +1 -0
- package/protocol/types/operations/Origination.d.ts +13 -0
- package/protocol/types/operations/Origination.js +3 -0
- package/protocol/types/operations/Origination.js.map +1 -0
- package/protocol/types/operations/Proposal.d.ts +7 -0
- package/protocol/types/operations/Proposal.js +3 -0
- package/protocol/types/operations/Proposal.js.map +1 -0
- package/protocol/types/operations/Reveal.d.ts +11 -0
- package/protocol/types/operations/Reveal.js +3 -0
- package/protocol/types/operations/Reveal.js.map +1 -0
- package/protocol/types/operations/SeedNonceRevelation.d.ts +7 -0
- package/protocol/types/operations/SeedNonceRevelation.js +3 -0
- package/protocol/types/operations/SeedNonceRevelation.js.map +1 -0
- package/protocol/types/operations/TezosOperation.d.ts +4 -0
- package/protocol/types/operations/TezosOperation.js +3 -0
- package/protocol/types/operations/TezosOperation.js.map +1 -0
- package/protocol/types/operations/Transaction.d.ts +23 -0
- package/protocol/types/operations/Transaction.js +3 -0
- package/protocol/types/operations/Transaction.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingAddressCursor.d.ts +4 -0
- package/protocol/types/sapling/TezosSaplingAddressCursor.js +3 -0
- package/protocol/types/sapling/TezosSaplingAddressCursor.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingAddressResult.d.ts +4 -0
- package/protocol/types/sapling/TezosSaplingAddressResult.js +3 -0
- package/protocol/types/sapling/TezosSaplingAddressResult.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingCiphertext.d.ts +8 -0
- package/protocol/types/sapling/TezosSaplingCiphertext.js +3 -0
- package/protocol/types/sapling/TezosSaplingCiphertext.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingInput.d.ts +6 -0
- package/protocol/types/sapling/TezosSaplingInput.js +3 -0
- package/protocol/types/sapling/TezosSaplingInput.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingOutput.d.ts +6 -0
- package/protocol/types/sapling/TezosSaplingOutput.js +3 -0
- package/protocol/types/sapling/TezosSaplingOutput.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingStateDiff.d.ts +6 -0
- package/protocol/types/sapling/TezosSaplingStateDiff.js +3 -0
- package/protocol/types/sapling/TezosSaplingStateDiff.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingStateTree.d.ts +7 -0
- package/protocol/types/sapling/TezosSaplingStateTree.js +3 -0
- package/protocol/types/sapling/TezosSaplingStateTree.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingTransaction.d.ts +23 -0
- package/protocol/types/sapling/TezosSaplingTransaction.js +3 -0
- package/protocol/types/sapling/TezosSaplingTransaction.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingTransactionCursor.d.ts +3 -0
- package/protocol/types/sapling/TezosSaplingTransactionCursor.js +3 -0
- package/protocol/types/sapling/TezosSaplingTransactionCursor.js.map +1 -0
- package/protocol/types/sapling/TezosSaplingTransactionResult.d.ts +6 -0
- package/protocol/types/sapling/TezosSaplingTransactionResult.js +3 -0
- package/protocol/types/sapling/TezosSaplingTransactionResult.js.map +1 -0
- package/protocol/types/utils.d.ts +8 -0
- package/protocol/types/utils.js +41 -0
- package/protocol/types/utils.js.map +1 -0
- package/readme.md +121 -0
- package/types/signed-transaction-tezos-sapling.d.ts +3 -0
- package/types/signed-transaction-tezos-sapling.js +3 -0
- package/types/signed-transaction-tezos-sapling.js.map +1 -0
- package/types/signed-transaction-tezos.d.ts +5 -0
- package/types/signed-transaction-tezos.js +3 -0
- package/types/signed-transaction-tezos.js.map +1 -0
- package/types/transaction-tezos.d.ts +14 -0
- package/types/transaction-tezos.js +3 -0
- package/types/transaction-tezos.js.map +1 -0
- package/types/unsigned-transaction-tezos-sapling.d.ts +38 -0
- package/types/unsigned-transaction-tezos-sapling.js +3 -0
- package/types/unsigned-transaction-tezos-sapling.js.map +1 -0
- package/types/unsigned-transaction-tezos.d.ts +8 -0
- package/types/unsigned-transaction-tezos.js +3 -0
- package/types/unsigned-transaction-tezos.js.map +1 -0
package/constants.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum TezosBTCDetails {
|
|
2
|
+
CONTRACT_ADDRESS = "KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn"
|
|
3
|
+
}
|
|
4
|
+
export declare enum TezosETHtzDetails {
|
|
5
|
+
CONTRACT_ADDRESS = "KT19at7rQUvyjxnZ2fBv7D9zc8rkyG7gAoU8"
|
|
6
|
+
}
|
|
7
|
+
export declare enum TezosUUSDDetails {
|
|
8
|
+
CONTRACT_ADDRESS = "KT1XRPEPXbZK25r3Htzp2o1x7xdMMmfocKNW"
|
|
9
|
+
}
|
|
10
|
+
export declare enum TezosYOUDetails {
|
|
11
|
+
CONTRACT_ADDRESS = "KT1Xobej4mc6XgEjDoJoHtTKgbD1ELMvcQuL"
|
|
12
|
+
}
|
|
13
|
+
export declare enum TezosWrappedDetails {
|
|
14
|
+
CONTRACT_ADDRESS = "KT1VYsVfmobT7rsMVivvZ4J8i3bPiqz12NaH"
|
|
15
|
+
}
|
|
16
|
+
export declare enum TezosKolibriUSDDetails {
|
|
17
|
+
CONTRACT_ADDRESS = "KT1K9gCRgaLRFKTErYt1wVxA3Frb9FjasjTV"
|
|
18
|
+
}
|
package/constants.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TezosKolibriUSDDetails = exports.TezosWrappedDetails = exports.TezosYOUDetails = exports.TezosUUSDDetails = exports.TezosETHtzDetails = exports.TezosBTCDetails = void 0;
|
|
4
|
+
var TezosBTCDetails;
|
|
5
|
+
(function (TezosBTCDetails) {
|
|
6
|
+
TezosBTCDetails["CONTRACT_ADDRESS"] = "KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn";
|
|
7
|
+
})(TezosBTCDetails = exports.TezosBTCDetails || (exports.TezosBTCDetails = {}));
|
|
8
|
+
var TezosETHtzDetails;
|
|
9
|
+
(function (TezosETHtzDetails) {
|
|
10
|
+
TezosETHtzDetails["CONTRACT_ADDRESS"] = "KT19at7rQUvyjxnZ2fBv7D9zc8rkyG7gAoU8";
|
|
11
|
+
})(TezosETHtzDetails = exports.TezosETHtzDetails || (exports.TezosETHtzDetails = {}));
|
|
12
|
+
var TezosUUSDDetails;
|
|
13
|
+
(function (TezosUUSDDetails) {
|
|
14
|
+
TezosUUSDDetails["CONTRACT_ADDRESS"] = "KT1XRPEPXbZK25r3Htzp2o1x7xdMMmfocKNW";
|
|
15
|
+
})(TezosUUSDDetails = exports.TezosUUSDDetails || (exports.TezosUUSDDetails = {}));
|
|
16
|
+
var TezosYOUDetails;
|
|
17
|
+
(function (TezosYOUDetails) {
|
|
18
|
+
TezosYOUDetails["CONTRACT_ADDRESS"] = "KT1Xobej4mc6XgEjDoJoHtTKgbD1ELMvcQuL";
|
|
19
|
+
})(TezosYOUDetails = exports.TezosYOUDetails || (exports.TezosYOUDetails = {}));
|
|
20
|
+
var TezosWrappedDetails;
|
|
21
|
+
(function (TezosWrappedDetails) {
|
|
22
|
+
TezosWrappedDetails["CONTRACT_ADDRESS"] = "KT1VYsVfmobT7rsMVivvZ4J8i3bPiqz12NaH";
|
|
23
|
+
})(TezosWrappedDetails = exports.TezosWrappedDetails || (exports.TezosWrappedDetails = {}));
|
|
24
|
+
var TezosKolibriUSDDetails;
|
|
25
|
+
(function (TezosKolibriUSDDetails) {
|
|
26
|
+
TezosKolibriUSDDetails["CONTRACT_ADDRESS"] = "KT1K9gCRgaLRFKTErYt1wVxA3Frb9FjasjTV";
|
|
27
|
+
})(TezosKolibriUSDDetails = exports.TezosKolibriUSDDetails || (exports.TezosKolibriUSDDetails = {}));
|
|
28
|
+
//# sourceMappingURL=constants.js.map
|
package/constants.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,4EAAyD,CAAA;AAC3D,CAAC,EAFW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAE1B;AAED,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,8EAAyD,CAAA;AAC3D,CAAC,EAFW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAE5B;AAED,IAAY,gBAEX;AAFD,WAAY,gBAAgB;IAC1B,6EAAyD,CAAA;AAC3D,CAAC,EAFW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAE3B;AAED,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,4EAAyD,CAAA;AAC3D,CAAC,EAFW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAE1B;AAED,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,gFAAyD,CAAA;AAC3D,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B;AAED,IAAY,sBAEX;AAFD,WAAY,sBAAsB;IAChC,mFAAyD,CAAA;AAC3D,CAAC,EAFW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAEjC"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ImportAccountAction, ImportAccoutActionContext } from './actions/GetKtAccountsAction';
|
|
2
|
+
import { TezosDomains } from './protocol/domains/TezosDomains';
|
|
3
|
+
import { TezosBTC } from './protocol/fa/TezosBTC';
|
|
4
|
+
import { TezosBTCTez, TezosBTCTezProtocolConfig } from './protocol/fa/TezosBTCtez';
|
|
5
|
+
import { TezosCTez, TezosCTezProtocolConfig } from './protocol/fa/TezosCTez';
|
|
6
|
+
import { TezosDOGA, TezosDOGAProtocolConfig } from './protocol/fa/TezosDOGA';
|
|
7
|
+
import { TezosETHtz } from './protocol/fa/TezosETHtz';
|
|
8
|
+
import { TezosFA1p2Protocol } from './protocol/fa/TezosFA1p2Protocol';
|
|
9
|
+
import { TezosFA1Protocol } from './protocol/fa/TezosFA1Protocol';
|
|
10
|
+
import { TezosFA2Protocol } from './protocol/fa/TezosFA2Protocol';
|
|
11
|
+
import { TezosFAProtocol } from './protocol/fa/TezosFAProtocol';
|
|
12
|
+
import { TezosBTCProtocolConfig, TezosETHtzProtocolConfig, TezosFA2ProtocolConfig, TezosFA2ProtocolOptions, TezosFAProtocolConfig, TezosFAProtocolOptions, TezosKolibriUSDProtocolConfig, TezosStakerProtocolConfig, TezosUSDProtocolConfig, TezosUUSDProtocolConfig, TezosWrappedProtocolConfig, TezosYOUProtocolConfig } from './protocol/fa/TezosFAProtocolOptions';
|
|
13
|
+
import { TezosKolibriUSD } from './protocol/fa/TezosKolibriUSD';
|
|
14
|
+
import { TezosPlenty, TezosPlentyProtocolConfig } from './protocol/fa/TezosPlanty';
|
|
15
|
+
import { TezosQUIPU, TezosQUIPUProtocolConfig } from './protocol/fa/TezosQUIPU';
|
|
16
|
+
import { TezosSIRS, TezosSIRSProtocolConfig } from './protocol/fa/TezosSIRS';
|
|
17
|
+
import { TezosStaker } from './protocol/fa/TezosStaker';
|
|
18
|
+
import { TezosUBTC, TezosUBTCProtocolConfig } from './protocol/fa/TezosUBTC';
|
|
19
|
+
import { TezosUDEFI, TezosUDEFIProtocolConfig } from './protocol/fa/TezosUDEFI';
|
|
20
|
+
import { TezosUSD } from './protocol/fa/TezosUSD';
|
|
21
|
+
import { TezosUSDT, TezosUSDTProtocolConfig } from './protocol/fa/TezosUSDT';
|
|
22
|
+
import { TezosUUSD } from './protocol/fa/TezosUUSD';
|
|
23
|
+
import { TezosWRAP, TezosWRAPProtocolConfig } from './protocol/fa/TezosWRAP';
|
|
24
|
+
import { TezosWrapped } from './protocol/fa/TezosWrapped';
|
|
25
|
+
import { TezosYOU } from './protocol/fa/TezosYOU';
|
|
26
|
+
import { TezosIndexerClient } from './protocol/indexerClient/TezosIndexerClient';
|
|
27
|
+
import { TezosKtProtocol } from './protocol/kt/TezosKtProtocol';
|
|
28
|
+
import { TezosSaplingProtocol } from './protocol/sapling/TezosSaplingProtocol';
|
|
29
|
+
import { TezosSaplingExternalMethodProvider, TezosSaplingProtocolConfig, TezosSaplingProtocolOptions, TezosShieldedTezProtocolConfig } from './protocol/sapling/TezosSaplingProtocolOptions';
|
|
30
|
+
import { TezosShieldedTezProtocol } from './protocol/sapling/TezosShieldedTezProtocol';
|
|
31
|
+
import { TezosAddress } from './protocol/TezosAddress';
|
|
32
|
+
import { TezosCryptoClient } from './protocol/TezosCryptoClient';
|
|
33
|
+
import { BakerInfo, DelegationInfo, DelegationRewardInfo, TezosDelegatorAction, TezosNetwork, TezosPayoutInfo, TezosProtocol } from './protocol/TezosProtocol';
|
|
34
|
+
import { TezosBlockExplorer, TezosProtocolConfig, TezosProtocolNetwork, TezosProtocolNetworkExtras, TezosProtocolOptions } from './protocol/TezosProtocolOptions';
|
|
35
|
+
import { TezosUtils } from './protocol/TezosUtils';
|
|
36
|
+
import { TezosSaplingTransaction } from './protocol/types/sapling/TezosSaplingTransaction';
|
|
37
|
+
import { TezosTransactionCursor } from './protocol/types/TezosTransactionCursor';
|
|
38
|
+
import { TezosTransactionResult } from './protocol/types/TezosTransactionResult';
|
|
39
|
+
import { TezosWrappedOperation } from './protocol/types/TezosWrappedOperation';
|
|
40
|
+
import { SignedTezosTransaction } from './types/signed-transaction-tezos';
|
|
41
|
+
import { SignedTezosSaplingTransaction } from './types/signed-transaction-tezos-sapling';
|
|
42
|
+
import { RawTezosTransaction } from './types/transaction-tezos';
|
|
43
|
+
import { UnsignedTezosTransaction } from './types/unsigned-transaction-tezos';
|
|
44
|
+
import { UnsignedTezosSaplingTransaction } from './types/unsigned-transaction-tezos-sapling';
|
|
45
|
+
export { TezosProtocol, TezosKtProtocol, TezosFAProtocol, TezosFA1Protocol, TezosFA1p2Protocol, TezosFA2Protocol, TezosBTC, TezosStaker, TezosUSD, TezosUSDT, TezosETHtz as TezosETH, TezosUUSD, TezosYOU, TezosUDEFI, TezosUBTC, TezosWrapped, TezosWRAP, TezosKolibriUSD, TezosCTez, TezosPlenty, TezosQUIPU, TezosDOGA, TezosBTCTez, TezosSIRS, TezosTransactionResult, TezosTransactionCursor, BakerInfo, DelegationRewardInfo, DelegationInfo, TezosPayoutInfo, TezosDelegatorAction, TezosCryptoClient, TezosProtocolNetworkExtras, TezosBlockExplorer, TezosProtocolNetwork, TezosProtocolConfig, TezosProtocolOptions, TezosFAProtocolConfig, TezosFA2ProtocolConfig, TezosBTCProtocolConfig, TezosETHtzProtocolConfig as TezosETHProtocolConfig, TezosUUSDProtocolConfig, TezosYOUProtocolConfig, TezosWrappedProtocolConfig, TezosKolibriUSDProtocolConfig, TezosStakerProtocolConfig, TezosUSDProtocolConfig, TezosUSDTProtocolConfig, TezosCTezProtocolConfig, TezosPlentyProtocolConfig, TezosUDEFIProtocolConfig, TezosUBTCProtocolConfig, TezosWRAPProtocolConfig, TezosQUIPUProtocolConfig, TezosDOGAProtocolConfig, TezosSIRSProtocolConfig, TezosBTCTezProtocolConfig, TezosFAProtocolOptions, TezosFA2ProtocolOptions, TezosNetwork, TezosSaplingProtocol, TezosShieldedTezProtocol, TezosSaplingProtocolOptions, TezosSaplingProtocolConfig, TezosShieldedTezProtocolConfig, TezosSaplingExternalMethodProvider, TezosSaplingTransaction, TezosUtils, TezosWrappedOperation, TezosAddress, RawTezosTransaction, TezosDomains, TezosIndexerClient, UnsignedTezosTransaction, UnsignedTezosSaplingTransaction, SignedTezosTransaction, SignedTezosSaplingTransaction };
|
|
46
|
+
export { ImportAccountAction, ImportAccoutActionContext };
|
package/index.js
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TezosBTCTezProtocolConfig = exports.TezosSIRSProtocolConfig = exports.TezosDOGAProtocolConfig = exports.TezosQUIPUProtocolConfig = exports.TezosWRAPProtocolConfig = exports.TezosUBTCProtocolConfig = exports.TezosUDEFIProtocolConfig = exports.TezosPlentyProtocolConfig = exports.TezosCTezProtocolConfig = exports.TezosUSDTProtocolConfig = exports.TezosUSDProtocolConfig = exports.TezosStakerProtocolConfig = exports.TezosKolibriUSDProtocolConfig = exports.TezosWrappedProtocolConfig = exports.TezosYOUProtocolConfig = exports.TezosUUSDProtocolConfig = exports.TezosETHProtocolConfig = exports.TezosBTCProtocolConfig = exports.TezosFA2ProtocolConfig = exports.TezosFAProtocolConfig = exports.TezosProtocolOptions = exports.TezosProtocolConfig = exports.TezosProtocolNetwork = exports.TezosBlockExplorer = exports.TezosCryptoClient = exports.TezosDelegatorAction = exports.TezosSIRS = exports.TezosBTCTez = exports.TezosDOGA = exports.TezosQUIPU = exports.TezosPlenty = exports.TezosCTez = exports.TezosKolibriUSD = exports.TezosWRAP = exports.TezosWrapped = exports.TezosUBTC = exports.TezosUDEFI = exports.TezosYOU = exports.TezosUUSD = exports.TezosETH = exports.TezosUSDT = exports.TezosUSD = exports.TezosStaker = exports.TezosBTC = exports.TezosFA2Protocol = exports.TezosFA1p2Protocol = exports.TezosFA1Protocol = exports.TezosFAProtocol = exports.TezosKtProtocol = exports.TezosProtocol = void 0;
|
|
4
|
+
exports.ImportAccountAction = exports.TezosIndexerClient = exports.TezosDomains = exports.TezosAddress = exports.TezosUtils = exports.TezosShieldedTezProtocolConfig = exports.TezosSaplingProtocolConfig = exports.TezosSaplingProtocolOptions = exports.TezosShieldedTezProtocol = exports.TezosSaplingProtocol = exports.TezosNetwork = exports.TezosFA2ProtocolOptions = exports.TezosFAProtocolOptions = void 0;
|
|
5
|
+
var GetKtAccountsAction_1 = require("./actions/GetKtAccountsAction");
|
|
6
|
+
Object.defineProperty(exports, "ImportAccountAction", { enumerable: true, get: function () { return GetKtAccountsAction_1.ImportAccountAction; } });
|
|
7
|
+
var TezosDomains_1 = require("./protocol/domains/TezosDomains");
|
|
8
|
+
Object.defineProperty(exports, "TezosDomains", { enumerable: true, get: function () { return TezosDomains_1.TezosDomains; } });
|
|
9
|
+
var TezosBTC_1 = require("./protocol/fa/TezosBTC");
|
|
10
|
+
Object.defineProperty(exports, "TezosBTC", { enumerable: true, get: function () { return TezosBTC_1.TezosBTC; } });
|
|
11
|
+
var TezosBTCtez_1 = require("./protocol/fa/TezosBTCtez");
|
|
12
|
+
Object.defineProperty(exports, "TezosBTCTez", { enumerable: true, get: function () { return TezosBTCtez_1.TezosBTCTez; } });
|
|
13
|
+
Object.defineProperty(exports, "TezosBTCTezProtocolConfig", { enumerable: true, get: function () { return TezosBTCtez_1.TezosBTCTezProtocolConfig; } });
|
|
14
|
+
var TezosCTez_1 = require("./protocol/fa/TezosCTez");
|
|
15
|
+
Object.defineProperty(exports, "TezosCTez", { enumerable: true, get: function () { return TezosCTez_1.TezosCTez; } });
|
|
16
|
+
Object.defineProperty(exports, "TezosCTezProtocolConfig", { enumerable: true, get: function () { return TezosCTez_1.TezosCTezProtocolConfig; } });
|
|
17
|
+
var TezosDOGA_1 = require("./protocol/fa/TezosDOGA");
|
|
18
|
+
Object.defineProperty(exports, "TezosDOGA", { enumerable: true, get: function () { return TezosDOGA_1.TezosDOGA; } });
|
|
19
|
+
Object.defineProperty(exports, "TezosDOGAProtocolConfig", { enumerable: true, get: function () { return TezosDOGA_1.TezosDOGAProtocolConfig; } });
|
|
20
|
+
var TezosETHtz_1 = require("./protocol/fa/TezosETHtz");
|
|
21
|
+
Object.defineProperty(exports, "TezosETH", { enumerable: true, get: function () { return TezosETHtz_1.TezosETHtz; } });
|
|
22
|
+
var TezosFA1p2Protocol_1 = require("./protocol/fa/TezosFA1p2Protocol");
|
|
23
|
+
Object.defineProperty(exports, "TezosFA1p2Protocol", { enumerable: true, get: function () { return TezosFA1p2Protocol_1.TezosFA1p2Protocol; } });
|
|
24
|
+
var TezosFA1Protocol_1 = require("./protocol/fa/TezosFA1Protocol");
|
|
25
|
+
Object.defineProperty(exports, "TezosFA1Protocol", { enumerable: true, get: function () { return TezosFA1Protocol_1.TezosFA1Protocol; } });
|
|
26
|
+
var TezosFA2Protocol_1 = require("./protocol/fa/TezosFA2Protocol");
|
|
27
|
+
Object.defineProperty(exports, "TezosFA2Protocol", { enumerable: true, get: function () { return TezosFA2Protocol_1.TezosFA2Protocol; } });
|
|
28
|
+
var TezosFAProtocol_1 = require("./protocol/fa/TezosFAProtocol");
|
|
29
|
+
Object.defineProperty(exports, "TezosFAProtocol", { enumerable: true, get: function () { return TezosFAProtocol_1.TezosFAProtocol; } });
|
|
30
|
+
var TezosFAProtocolOptions_1 = require("./protocol/fa/TezosFAProtocolOptions");
|
|
31
|
+
Object.defineProperty(exports, "TezosBTCProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosBTCProtocolConfig; } });
|
|
32
|
+
Object.defineProperty(exports, "TezosETHProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosETHtzProtocolConfig; } });
|
|
33
|
+
Object.defineProperty(exports, "TezosFA2ProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosFA2ProtocolConfig; } });
|
|
34
|
+
Object.defineProperty(exports, "TezosFA2ProtocolOptions", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosFA2ProtocolOptions; } });
|
|
35
|
+
Object.defineProperty(exports, "TezosFAProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosFAProtocolConfig; } });
|
|
36
|
+
Object.defineProperty(exports, "TezosFAProtocolOptions", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosFAProtocolOptions; } });
|
|
37
|
+
Object.defineProperty(exports, "TezosKolibriUSDProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosKolibriUSDProtocolConfig; } });
|
|
38
|
+
Object.defineProperty(exports, "TezosStakerProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosStakerProtocolConfig; } });
|
|
39
|
+
Object.defineProperty(exports, "TezosUSDProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosUSDProtocolConfig; } });
|
|
40
|
+
Object.defineProperty(exports, "TezosUUSDProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosUUSDProtocolConfig; } });
|
|
41
|
+
Object.defineProperty(exports, "TezosWrappedProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosWrappedProtocolConfig; } });
|
|
42
|
+
Object.defineProperty(exports, "TezosYOUProtocolConfig", { enumerable: true, get: function () { return TezosFAProtocolOptions_1.TezosYOUProtocolConfig; } });
|
|
43
|
+
var TezosKolibriUSD_1 = require("./protocol/fa/TezosKolibriUSD");
|
|
44
|
+
Object.defineProperty(exports, "TezosKolibriUSD", { enumerable: true, get: function () { return TezosKolibriUSD_1.TezosKolibriUSD; } });
|
|
45
|
+
var TezosPlanty_1 = require("./protocol/fa/TezosPlanty");
|
|
46
|
+
Object.defineProperty(exports, "TezosPlenty", { enumerable: true, get: function () { return TezosPlanty_1.TezosPlenty; } });
|
|
47
|
+
Object.defineProperty(exports, "TezosPlentyProtocolConfig", { enumerable: true, get: function () { return TezosPlanty_1.TezosPlentyProtocolConfig; } });
|
|
48
|
+
var TezosQUIPU_1 = require("./protocol/fa/TezosQUIPU");
|
|
49
|
+
Object.defineProperty(exports, "TezosQUIPU", { enumerable: true, get: function () { return TezosQUIPU_1.TezosQUIPU; } });
|
|
50
|
+
Object.defineProperty(exports, "TezosQUIPUProtocolConfig", { enumerable: true, get: function () { return TezosQUIPU_1.TezosQUIPUProtocolConfig; } });
|
|
51
|
+
var TezosSIRS_1 = require("./protocol/fa/TezosSIRS");
|
|
52
|
+
Object.defineProperty(exports, "TezosSIRS", { enumerable: true, get: function () { return TezosSIRS_1.TezosSIRS; } });
|
|
53
|
+
Object.defineProperty(exports, "TezosSIRSProtocolConfig", { enumerable: true, get: function () { return TezosSIRS_1.TezosSIRSProtocolConfig; } });
|
|
54
|
+
var TezosStaker_1 = require("./protocol/fa/TezosStaker");
|
|
55
|
+
Object.defineProperty(exports, "TezosStaker", { enumerable: true, get: function () { return TezosStaker_1.TezosStaker; } });
|
|
56
|
+
var TezosUBTC_1 = require("./protocol/fa/TezosUBTC");
|
|
57
|
+
Object.defineProperty(exports, "TezosUBTC", { enumerable: true, get: function () { return TezosUBTC_1.TezosUBTC; } });
|
|
58
|
+
Object.defineProperty(exports, "TezosUBTCProtocolConfig", { enumerable: true, get: function () { return TezosUBTC_1.TezosUBTCProtocolConfig; } });
|
|
59
|
+
var TezosUDEFI_1 = require("./protocol/fa/TezosUDEFI");
|
|
60
|
+
Object.defineProperty(exports, "TezosUDEFI", { enumerable: true, get: function () { return TezosUDEFI_1.TezosUDEFI; } });
|
|
61
|
+
Object.defineProperty(exports, "TezosUDEFIProtocolConfig", { enumerable: true, get: function () { return TezosUDEFI_1.TezosUDEFIProtocolConfig; } });
|
|
62
|
+
var TezosUSD_1 = require("./protocol/fa/TezosUSD");
|
|
63
|
+
Object.defineProperty(exports, "TezosUSD", { enumerable: true, get: function () { return TezosUSD_1.TezosUSD; } });
|
|
64
|
+
var TezosUSDT_1 = require("./protocol/fa/TezosUSDT");
|
|
65
|
+
Object.defineProperty(exports, "TezosUSDT", { enumerable: true, get: function () { return TezosUSDT_1.TezosUSDT; } });
|
|
66
|
+
Object.defineProperty(exports, "TezosUSDTProtocolConfig", { enumerable: true, get: function () { return TezosUSDT_1.TezosUSDTProtocolConfig; } });
|
|
67
|
+
var TezosUUSD_1 = require("./protocol/fa/TezosUUSD");
|
|
68
|
+
Object.defineProperty(exports, "TezosUUSD", { enumerable: true, get: function () { return TezosUUSD_1.TezosUUSD; } });
|
|
69
|
+
var TezosWRAP_1 = require("./protocol/fa/TezosWRAP");
|
|
70
|
+
Object.defineProperty(exports, "TezosWRAP", { enumerable: true, get: function () { return TezosWRAP_1.TezosWRAP; } });
|
|
71
|
+
Object.defineProperty(exports, "TezosWRAPProtocolConfig", { enumerable: true, get: function () { return TezosWRAP_1.TezosWRAPProtocolConfig; } });
|
|
72
|
+
var TezosWrapped_1 = require("./protocol/fa/TezosWrapped");
|
|
73
|
+
Object.defineProperty(exports, "TezosWrapped", { enumerable: true, get: function () { return TezosWrapped_1.TezosWrapped; } });
|
|
74
|
+
var TezosYOU_1 = require("./protocol/fa/TezosYOU");
|
|
75
|
+
Object.defineProperty(exports, "TezosYOU", { enumerable: true, get: function () { return TezosYOU_1.TezosYOU; } });
|
|
76
|
+
var TezosIndexerClient_1 = require("./protocol/indexerClient/TezosIndexerClient");
|
|
77
|
+
Object.defineProperty(exports, "TezosIndexerClient", { enumerable: true, get: function () { return TezosIndexerClient_1.TezosIndexerClient; } });
|
|
78
|
+
var TezosKtProtocol_1 = require("./protocol/kt/TezosKtProtocol");
|
|
79
|
+
Object.defineProperty(exports, "TezosKtProtocol", { enumerable: true, get: function () { return TezosKtProtocol_1.TezosKtProtocol; } });
|
|
80
|
+
var TezosSaplingProtocol_1 = require("./protocol/sapling/TezosSaplingProtocol");
|
|
81
|
+
Object.defineProperty(exports, "TezosSaplingProtocol", { enumerable: true, get: function () { return TezosSaplingProtocol_1.TezosSaplingProtocol; } });
|
|
82
|
+
var TezosSaplingProtocolOptions_1 = require("./protocol/sapling/TezosSaplingProtocolOptions");
|
|
83
|
+
Object.defineProperty(exports, "TezosSaplingProtocolConfig", { enumerable: true, get: function () { return TezosSaplingProtocolOptions_1.TezosSaplingProtocolConfig; } });
|
|
84
|
+
Object.defineProperty(exports, "TezosSaplingProtocolOptions", { enumerable: true, get: function () { return TezosSaplingProtocolOptions_1.TezosSaplingProtocolOptions; } });
|
|
85
|
+
Object.defineProperty(exports, "TezosShieldedTezProtocolConfig", { enumerable: true, get: function () { return TezosSaplingProtocolOptions_1.TezosShieldedTezProtocolConfig; } });
|
|
86
|
+
var TezosShieldedTezProtocol_1 = require("./protocol/sapling/TezosShieldedTezProtocol");
|
|
87
|
+
Object.defineProperty(exports, "TezosShieldedTezProtocol", { enumerable: true, get: function () { return TezosShieldedTezProtocol_1.TezosShieldedTezProtocol; } });
|
|
88
|
+
var TezosAddress_1 = require("./protocol/TezosAddress");
|
|
89
|
+
Object.defineProperty(exports, "TezosAddress", { enumerable: true, get: function () { return TezosAddress_1.TezosAddress; } });
|
|
90
|
+
var TezosCryptoClient_1 = require("./protocol/TezosCryptoClient");
|
|
91
|
+
Object.defineProperty(exports, "TezosCryptoClient", { enumerable: true, get: function () { return TezosCryptoClient_1.TezosCryptoClient; } });
|
|
92
|
+
var TezosProtocol_1 = require("./protocol/TezosProtocol");
|
|
93
|
+
Object.defineProperty(exports, "TezosDelegatorAction", { enumerable: true, get: function () { return TezosProtocol_1.TezosDelegatorAction; } });
|
|
94
|
+
Object.defineProperty(exports, "TezosNetwork", { enumerable: true, get: function () { return TezosProtocol_1.TezosNetwork; } });
|
|
95
|
+
Object.defineProperty(exports, "TezosProtocol", { enumerable: true, get: function () { return TezosProtocol_1.TezosProtocol; } });
|
|
96
|
+
var TezosProtocolOptions_1 = require("./protocol/TezosProtocolOptions");
|
|
97
|
+
Object.defineProperty(exports, "TezosBlockExplorer", { enumerable: true, get: function () { return TezosProtocolOptions_1.TezosBlockExplorer; } });
|
|
98
|
+
Object.defineProperty(exports, "TezosProtocolConfig", { enumerable: true, get: function () { return TezosProtocolOptions_1.TezosProtocolConfig; } });
|
|
99
|
+
Object.defineProperty(exports, "TezosProtocolNetwork", { enumerable: true, get: function () { return TezosProtocolOptions_1.TezosProtocolNetwork; } });
|
|
100
|
+
Object.defineProperty(exports, "TezosProtocolOptions", { enumerable: true, get: function () { return TezosProtocolOptions_1.TezosProtocolOptions; } });
|
|
101
|
+
var TezosUtils_1 = require("./protocol/TezosUtils");
|
|
102
|
+
Object.defineProperty(exports, "TezosUtils", { enumerable: true, get: function () { return TezosUtils_1.TezosUtils; } });
|
|
103
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA8F;AA6JrF,oGA7JA,yCAAmB,OA6JA;AA5J5B,gEAA8D;AAoJ5D,6FApJO,2BAAY,OAoJP;AAnJd,mDAAiD;AAkF/C,yFAlFO,mBAAQ,OAkFP;AAjFV,yDAAkF;AAiGhF,4FAjGO,yBAAW,OAiGP;AAkCX,0GAnIoB,uCAAyB,OAmIpB;AAlI3B,qDAA4E;AA4F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airgap/tezos is a Tezos implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"airgap",
|
|
7
|
+
"blockchain",
|
|
8
|
+
"crypto",
|
|
9
|
+
"tezos"
|
|
10
|
+
],
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"homepage": "https://www.airgap.it",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/airgap-it/airgap-coin-lib"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "rm -rf ./dist && tsc && node scripts/copy-files-after-build.js && node scripts/make-ts-declaration-files-backwards-compatible.js",
|
|
22
|
+
"build-scripts": "tsc scripts/*.ts",
|
|
23
|
+
"lint": "tslint -c ./tslint.json --project ./tsconfig.json --format stylish --fix",
|
|
24
|
+
"lint:prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
25
|
+
"lint-ci": "tslint -t json -o ../../lint-reports/tezos.json --project . || true",
|
|
26
|
+
"lint-ci:prettier": "prettier \"src/**/*.ts\" \"test/**/*.ts\" --list-different",
|
|
27
|
+
"test": "nyc mocha --bail --require ts-node/register --require source-map-support/register --full-trace --delay --timeout 40000 ./test/**/**.spec.ts",
|
|
28
|
+
"test-ci": "nyc --reporter=lcov npm test",
|
|
29
|
+
"test-legacy": "",
|
|
30
|
+
"browserify": "browserify ./dist/index.js -p realpathify -s airgapCoinLibTezos > ./dist/airgap-coinlib-tezos.min.js"
|
|
31
|
+
},
|
|
32
|
+
"author": "Papers GmbH <contact@papers.ch> (https://papers.ch)",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@airgap/sapling-wasm": "0.0.7",
|
|
35
|
+
"@stablelib/blake2b": "^1.0.1",
|
|
36
|
+
"@stablelib/ed25519": "^1.0.3",
|
|
37
|
+
"@stablelib/nacl": "^1.0.4",
|
|
38
|
+
"@stablelib/random": "^1.0.2",
|
|
39
|
+
"@stablelib/utf8": "^1.0.1",
|
|
40
|
+
"@taquito/local-forging": "14.0.0"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@airgap/coinlib-core": "^0.13.7-beta.0"
|
|
44
|
+
},
|
|
45
|
+
"localDependencies": {
|
|
46
|
+
"@taquito/local-forging": "8.0.1-beta.1"
|
|
47
|
+
},
|
|
48
|
+
"nyc": {
|
|
49
|
+
"include": [
|
|
50
|
+
"src/**/*.ts"
|
|
51
|
+
],
|
|
52
|
+
"exclude": [
|
|
53
|
+
"test/**/*.spec.ts"
|
|
54
|
+
],
|
|
55
|
+
"extension": [
|
|
56
|
+
".ts"
|
|
57
|
+
],
|
|
58
|
+
"require": [
|
|
59
|
+
"ts-node/register"
|
|
60
|
+
],
|
|
61
|
+
"reporter": [
|
|
62
|
+
"text",
|
|
63
|
+
"text-summary"
|
|
64
|
+
],
|
|
65
|
+
"report-dir": "../../coverage/tezos",
|
|
66
|
+
"sourceMap": true,
|
|
67
|
+
"instrument": true
|
|
68
|
+
},
|
|
69
|
+
"gitHead": "8e8feb6788204501b7173aa825f5456c2a5f185b"
|
|
70
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { IAirGapAddress } from '@airgap/coinlib-core/interfaces/IAirGapAddress';
|
|
3
|
+
export declare class TezosAddress implements IAirGapAddress {
|
|
4
|
+
private readonly value;
|
|
5
|
+
protected constructor(value: string);
|
|
6
|
+
static fromPublicKey(publicKey: string): Promise<TezosAddress>;
|
|
7
|
+
static fromValue(value: string): Promise<TezosAddress>;
|
|
8
|
+
static fromRawTz(rawTz: string | Buffer): Promise<TezosAddress>;
|
|
9
|
+
static isTzAddress(address: string): boolean;
|
|
10
|
+
asString(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
31
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
32
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
33
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
34
|
+
function step(op) {
|
|
35
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
36
|
+
while (_) try {
|
|
37
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
38
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
39
|
+
switch (op[0]) {
|
|
40
|
+
case 0: case 1: t = op; break;
|
|
41
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
42
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
43
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
44
|
+
default:
|
|
45
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
46
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
47
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
48
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
49
|
+
if (t[2]) _.ops.pop();
|
|
50
|
+
_.trys.pop(); continue;
|
|
51
|
+
}
|
|
52
|
+
op = body.call(thisArg, _);
|
|
53
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
54
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
|
+
exports.TezosAddress = void 0;
|
|
59
|
+
var bs58check = __importStar(require("@airgap/coinlib-core/dependencies/src/bs58check-2.1.2/index"));
|
|
60
|
+
var blake2b_1 = require("@stablelib/blake2b");
|
|
61
|
+
var TezosUtils_1 = require("./TezosUtils");
|
|
62
|
+
var TezosAddress = /** @class */ (function () {
|
|
63
|
+
function TezosAddress(value) {
|
|
64
|
+
this.value = value;
|
|
65
|
+
}
|
|
66
|
+
TezosAddress.fromPublicKey = function (publicKey) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
68
|
+
var payload, address;
|
|
69
|
+
return __generator(this, function (_a) {
|
|
70
|
+
payload = blake2b_1.hash(Buffer.from(publicKey, 'hex'), 20);
|
|
71
|
+
address = bs58check.encode(Buffer.concat([TezosUtils_1.TezosUtils.tezosPrefixes.tz1, Buffer.from(payload)]));
|
|
72
|
+
return [2 /*return*/, new TezosAddress(address)];
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
TezosAddress.fromValue = function (value) {
|
|
77
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
78
|
+
return __generator(this, function (_a) {
|
|
79
|
+
if (!TezosAddress.isTzAddress(value)) {
|
|
80
|
+
throw new Error("Invalid address, expected a 'tz' address, got " + JSON.stringify(value));
|
|
81
|
+
}
|
|
82
|
+
return [2 /*return*/, new TezosAddress(value)];
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
TezosAddress.fromRawTz = function (rawTz) {
|
|
87
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
88
|
+
return __generator(this, function (_a) {
|
|
89
|
+
return [2 /*return*/, TezosAddress.fromValue(TezosUtils_1.TezosUtils.parseTzAddress(rawTz))];
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
TezosAddress.isTzAddress = function (address) {
|
|
94
|
+
return address.startsWith('tz1') || address.startsWith('tz2') || address.startsWith('tz3');
|
|
95
|
+
};
|
|
96
|
+
TezosAddress.prototype.asString = function () {
|
|
97
|
+
return this.value;
|
|
98
|
+
};
|
|
99
|
+
return TezosAddress;
|
|
100
|
+
}());
|
|
101
|
+
exports.TezosAddress = TezosAddress;
|
|
102
|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AAU,CAAC,KAAK,CAAC,CAAA;IAC5F,CAAC;IAEM,+BAAQ,GAAf;QACE,OAAO,IAAI,CAAC,KAAK,CAAA;IACnB,CAAC;IACH,mBAAC;AAAD,CAAC,AA7BD,IA6BC;AA7BY,oCAAY"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { Ed25519CryptoClient } from '@airgap/coinlib-core/protocols/Ed25519CryptoClient';
|
|
3
|
+
import { RawTezosTransaction } from '../types/transaction-tezos';
|
|
4
|
+
export declare class TezosCryptoClient extends Ed25519CryptoClient {
|
|
5
|
+
readonly edsigPrefix: Uint8Array;
|
|
6
|
+
constructor(edsigPrefix?: Uint8Array);
|
|
7
|
+
signMessage(message: string, keypair: {
|
|
8
|
+
privateKey: string;
|
|
9
|
+
}): Promise<string>;
|
|
10
|
+
operationSignature(privateKey: Buffer, transaction: RawTezosTransaction): Buffer;
|
|
11
|
+
verifyMessage(message: string, signature: string, publicKey: string): Promise<boolean>;
|
|
12
|
+
toBuffer(message: string): Buffer;
|
|
13
|
+
hash(message: Buffer, size?: number): Buffer;
|
|
14
|
+
blake2bLedgerHash(message: string): string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
35
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
36
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
37
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
38
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
39
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
40
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
44
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
45
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
46
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
47
|
+
function step(op) {
|
|
48
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
49
|
+
while (_) try {
|
|
50
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
51
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
52
|
+
switch (op[0]) {
|
|
53
|
+
case 0: case 1: t = op; break;
|
|
54
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
55
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
56
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
57
|
+
default:
|
|
58
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
59
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
60
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
61
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
62
|
+
if (t[2]) _.ops.pop();
|
|
63
|
+
_.trys.pop(); continue;
|
|
64
|
+
}
|
|
65
|
+
op = body.call(thisArg, _);
|
|
66
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
67
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
71
|
+
exports.TezosCryptoClient = void 0;
|
|
72
|
+
var bs58 = __importStar(require("@airgap/coinlib-core/dependencies/src/bs58-4.0.1"));
|
|
73
|
+
var bs58check = __importStar(require("@airgap/coinlib-core/dependencies/src/bs58check-2.1.2"));
|
|
74
|
+
var errors_1 = require("@airgap/coinlib-core/errors");
|
|
75
|
+
var coinlib_error_1 = require("@airgap/coinlib-core/errors/coinlib-error");
|
|
76
|
+
var Ed25519CryptoClient_1 = require("@airgap/coinlib-core/protocols/Ed25519CryptoClient");
|
|
77
|
+
var blake2b_1 = require("@stablelib/blake2b");
|
|
78
|
+
var ed25519_1 = require("@stablelib/ed25519");
|
|
79
|
+
var utf8_1 = require("@stablelib/utf8");
|
|
80
|
+
var TezosUtils_1 = require("./TezosUtils");
|
|
81
|
+
var TezosCryptoClient = /** @class */ (function (_super) {
|
|
82
|
+
__extends(TezosCryptoClient, _super);
|
|
83
|
+
function TezosCryptoClient(edsigPrefix) {
|
|
84
|
+
if (edsigPrefix === void 0) { edsigPrefix = new Uint8Array([9, 245, 205, 134, 18]); }
|
|
85
|
+
var _this = _super.call(this) || this;
|
|
86
|
+
_this.edsigPrefix = edsigPrefix;
|
|
87
|
+
return _this;
|
|
88
|
+
}
|
|
89
|
+
TezosCryptoClient.prototype.signMessage = function (message, keypair) {
|
|
90
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
91
|
+
var bufferMessage, hashBytes, rawSignature, signature;
|
|
92
|
+
return __generator(this, function (_a) {
|
|
93
|
+
bufferMessage = this.toBuffer(message);
|
|
94
|
+
hashBytes = this.hash(bufferMessage);
|
|
95
|
+
rawSignature = ed25519_1.sign(Buffer.from(keypair.privateKey, 'hex'), hashBytes);
|
|
96
|
+
signature = bs58check.encode(Buffer.concat([Buffer.from(this.edsigPrefix), Buffer.from(rawSignature)]));
|
|
97
|
+
return [2 /*return*/, signature];
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
TezosCryptoClient.prototype.operationSignature = function (privateKey, transaction) {
|
|
102
|
+
var watermarkedForgedOperationBytesHex = TezosUtils_1.TezosUtils.watermark.operation + transaction.binaryTransaction;
|
|
103
|
+
var watermarkedForgedOperationBytes = Buffer.from(watermarkedForgedOperationBytesHex, 'hex');
|
|
104
|
+
var hashedWatermarkedOpBytes = this.hash(watermarkedForgedOperationBytes);
|
|
105
|
+
return Buffer.from(ed25519_1.sign(privateKey, hashedWatermarkedOpBytes));
|
|
106
|
+
};
|
|
107
|
+
TezosCryptoClient.prototype.verifyMessage = function (message, signature, publicKey) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
109
|
+
var rawSignature, edsigPrefixLength, decoded, bufferMessage, hashBytes, isValidSignature;
|
|
110
|
+
return __generator(this, function (_a) {
|
|
111
|
+
if (signature.startsWith('edsig')) {
|
|
112
|
+
edsigPrefixLength = this.edsigPrefix.length;
|
|
113
|
+
decoded = bs58check.decode(signature);
|
|
114
|
+
rawSignature = new Uint8Array(decoded.slice(edsigPrefixLength, decoded.length));
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
throw new errors_1.InvalidValueError(coinlib_error_1.Domain.TEZOS, "invalid signature: " + JSON.stringify(signature));
|
|
118
|
+
}
|
|
119
|
+
bufferMessage = this.toBuffer(message);
|
|
120
|
+
hashBytes = this.hash(bufferMessage);
|
|
121
|
+
isValidSignature = ed25519_1.verify(Buffer.from(publicKey, 'hex'), hashBytes, rawSignature);
|
|
122
|
+
return [2 /*return*/, isValidSignature];
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
TezosCryptoClient.prototype.toBuffer = function (message) {
|
|
127
|
+
if (message.length % 2 !== 0) {
|
|
128
|
+
return Buffer.from(utf8_1.encode(message));
|
|
129
|
+
}
|
|
130
|
+
var adjustedMessage = message;
|
|
131
|
+
if (message.startsWith('0x')) {
|
|
132
|
+
adjustedMessage = message.slice(2);
|
|
133
|
+
}
|
|
134
|
+
var buffer = Buffer.from(adjustedMessage, 'hex');
|
|
135
|
+
if (buffer.length === adjustedMessage.length / 2) {
|
|
136
|
+
return buffer;
|
|
137
|
+
}
|
|
138
|
+
return Buffer.from(utf8_1.encode(message));
|
|
139
|
+
};
|
|
140
|
+
TezosCryptoClient.prototype.hash = function (message, size) {
|
|
141
|
+
if (size === void 0) { size = 32; }
|
|
142
|
+
return Buffer.from(blake2b_1.hash(message, size));
|
|
143
|
+
};
|
|
144
|
+
TezosCryptoClient.prototype.blake2bLedgerHash = function (message) {
|
|
145
|
+
var buffer = this.toBuffer(message);
|
|
146
|
+
var hash = this.hash(buffer);
|
|
147
|
+
return bs58.encode(Buffer.from(hash));
|
|
148
|
+
};
|
|
149
|
+
return TezosCryptoClient;
|
|
150
|
+
}(Ed25519CryptoClient_1.Ed25519CryptoClient));
|
|
151
|
+
exports.TezosCryptoClient = TezosCryptoClient;
|
|
152
|
+
//# sourceMappingURL=TezosCryptoClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TezosCryptoClient.js","sourceRoot":"","sources":["../../src/protocol/TezosCryptoClient.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qFAAwE;AACxE,+FAAkF;AAClF,sDAA+D;AAC/D,2EAAkE;AAClE,0FAAwF;AACxF,8CAAyC;AACzC,8CAAiD;AACjD,wCAAwC;AAIxC,2CAAyC;AAEzC;IAAuC,qCAAmB;IACxD,2BAA4B,WAAgE;QAAhE,4BAAA,EAAA,kBAA8B,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;QAA5F,YACE,iBAAO,SACR;QAF2B,iBAAW,GAAX,WAAW,CAAqD;;IAE5F,CAAC;IAEY,uCAAW,GAAxB,UAAyB,OAAe,EAAE,OAA+B;;;;gBACjE,aAAa,GAAW,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;gBAE9C,SAAS,GAAW,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;gBAC5C,YAAY,GAAe,cAAI,CAAC,MAAM,CAAC,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