@fhevm/sdk 1.0.0-alpha.1 → 1.0.0-alpha.3
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/_cjs/core/_version.js +1 -1
- package/_cjs/core/actions/base/fetchVerifiedInputProof.js +1 -1
- package/_cjs/core/actions/base/fetchVerifiedInputProof.js.map +1 -1
- package/_cjs/core/actions/base/signDecryptionPermit.js.map +1 -1
- package/_cjs/core/actions/chain/index.js +5 -5
- package/_cjs/core/actions/chain/index.js.map +1 -1
- package/_cjs/core/actions/chain/parseSignedDecryptionPermit.js +2 -3
- package/_cjs/core/actions/chain/parseSignedDecryptionPermit.js.map +1 -1
- package/_cjs/core/actions/chain/parseTransportKeypair.js +1 -2
- package/_cjs/core/actions/chain/parseTransportKeypair.js.map +1 -1
- package/_cjs/core/actions/decrypt/decryptValue.js +4 -1
- package/_cjs/core/actions/decrypt/decryptValue.js.map +1 -1
- package/_cjs/core/actions/decrypt/decryptValues.js +4 -1
- package/_cjs/core/actions/decrypt/decryptValues.js.map +1 -1
- package/_cjs/core/actions/decrypt/decryptValuesFromPairs.js +4 -1
- package/_cjs/core/actions/decrypt/decryptValuesFromPairs.js.map +1 -1
- package/_cjs/core/actions/decrypt/index.js.map +1 -1
- package/_cjs/core/actions/host/getUserDecryptionDelegationExpirationDate.js +12 -14
- package/_cjs/core/actions/host/getUserDecryptionDelegationExpirationDate.js.map +1 -1
- package/_cjs/core/base/bytes.js +8 -0
- package/_cjs/core/base/bytes.js.map +1 -1
- package/_cjs/core/base/sign.js +50 -0
- package/_cjs/core/base/sign.js.map +1 -0
- package/_cjs/core/base/typedValue.js +17 -0
- package/_cjs/core/base/typedValue.js.map +1 -1
- package/_cjs/core/base/uint.js +29 -0
- package/_cjs/core/base/uint.js.map +1 -1
- package/_cjs/core/clients/decorators/decrypt.js +3 -3
- package/_cjs/core/clients/decorators/decrypt.js.map +1 -1
- package/_cjs/core/coprocessor/ZkProof-p.js +17 -11
- package/_cjs/core/coprocessor/ZkProof-p.js.map +1 -1
- package/_cjs/core/coprocessor/ZkProofBuilder-p.js +6 -4
- package/_cjs/core/coprocessor/ZkProofBuilder-p.js.map +1 -1
- package/_cjs/core/coprocessor/encrypt.js +1 -3
- package/_cjs/core/coprocessor/encrypt.js.map +1 -1
- package/_cjs/core/coprocessor/fetchVerifiedInputProof.js +3 -4
- package/_cjs/core/coprocessor/fetchVerifiedInputProof.js.map +1 -1
- package/_cjs/core/handle/FheType.js +5 -2
- package/_cjs/core/handle/FheType.js.map +1 -1
- package/_cjs/core/host-contracts/KmsSignersContext-p.js +1 -1
- package/_cjs/core/host-contracts/KmsSignersContext-p.js.map +1 -1
- package/_cjs/core/host-contracts/checkDelegation.js +74 -0
- package/_cjs/core/host-contracts/checkDelegation.js.map +1 -0
- package/_cjs/core/host-contracts/getUserDecryptionDelegationExpirationDate.js +21 -0
- package/_cjs/core/host-contracts/getUserDecryptionDelegationExpirationDate.js.map +1 -0
- package/_cjs/core/host-contracts/isHandleDelegatedForUserDecryption-p.js +33 -0
- package/_cjs/core/host-contracts/isHandleDelegatedForUserDecryption-p.js.map +1 -0
- package/_cjs/core/host-contracts/persistAllowed.js +1 -1
- package/_cjs/core/host-contracts/persistAllowed.js.map +1 -1
- package/_cjs/core/kms/fetchKmsSignedcryptedShares-p.js +18 -8
- package/_cjs/core/kms/fetchKmsSignedcryptedShares-p.js.map +1 -1
- package/_cjs/core/kms/publicDecrypt.js +1 -4
- package/_cjs/core/kms/publicDecrypt.js.map +1 -1
- package/_cjs/core/modules/decrypt/mock.js +93 -10
- package/_cjs/core/modules/decrypt/mock.js.map +1 -1
- package/_cjs/core/modules/encrypt/mock.js +142 -12
- package/_cjs/core/modules/encrypt/mock.js.map +1 -1
- package/_cjs/core/modules/encrypt/module/api-p.js +7 -2
- package/_cjs/core/modules/encrypt/module/api-p.js.map +1 -1
- package/_cjs/core/modules/ethereum/types-ct.js +3 -0
- package/_cjs/core/modules/ethereum/types-ct.js.map +1 -0
- package/_cjs/core/modules/relayer/cleartext/fetchCoprocessorSignatures.js +68 -0
- package/_cjs/core/modules/relayer/cleartext/fetchCoprocessorSignatures.js.map +1 -0
- package/_cjs/core/modules/relayer/cleartext/fetchDelegatedUserDecrypt.js +119 -0
- package/_cjs/core/modules/relayer/cleartext/fetchDelegatedUserDecrypt.js.map +1 -0
- package/_cjs/core/modules/relayer/cleartext/fetchPublicDecrypt.js +52 -0
- package/_cjs/core/modules/relayer/cleartext/fetchPublicDecrypt.js.map +1 -0
- package/_cjs/core/modules/relayer/cleartext/fetchUserDecrypt.js +117 -0
- package/_cjs/core/modules/relayer/cleartext/fetchUserDecrypt.js.map +1 -0
- package/_cjs/core/modules/relayer/cleartext/mock.js +40 -0
- package/_cjs/core/modules/relayer/cleartext/mock.js.map +1 -0
- package/_cjs/core/modules/relayer/cleartext/signers.js +34 -0
- package/_cjs/core/modules/relayer/cleartext/signers.js.map +1 -0
- package/_cjs/core/modules/relayer/module/fetchCoprocessorSignatures.js +2 -2
- package/_cjs/core/modules/relayer/module/fetchCoprocessorSignatures.js.map +1 -1
- package/_cjs/core/modules/relayer/module/fetchDelegatedUserDecrypt.js +1 -1
- package/_cjs/core/modules/relayer/module/fetchDelegatedUserDecrypt.js.map +1 -1
- package/_cjs/core/modules/relayer/module/fetchPublicDecrypt.js +1 -1
- package/_cjs/core/modules/relayer/module/fetchPublicDecrypt.js.map +1 -1
- package/_cjs/core/modules/relayer/module/fetchUserDecrypt.js +1 -1
- package/_cjs/core/modules/relayer/module/fetchUserDecrypt.js.map +1 -1
- package/_cjs/core/modules/relayer/utils.js +16 -0
- package/_cjs/core/modules/relayer/utils.js.map +1 -0
- package/_cjs/ethers/cleartext/createFhevmCleartextBaseClient.js +17 -0
- package/_cjs/ethers/cleartext/createFhevmCleartextBaseClient.js.map +1 -0
- package/_cjs/ethers/cleartext/createFhevmCleartextClient.js +11 -0
- package/_cjs/ethers/cleartext/createFhevmCleartextClient.js.map +1 -0
- package/_cjs/ethers/cleartext/createFhevmCleartextDecryptClient.js +10 -0
- package/_cjs/ethers/cleartext/createFhevmCleartextDecryptClient.js.map +1 -0
- package/_cjs/ethers/cleartext/createFhevmCleartextEncryptClient.js +10 -0
- package/_cjs/ethers/cleartext/createFhevmCleartextEncryptClient.js.map +1 -0
- package/_cjs/ethers/cleartext/decorators/decrypt.js +9 -0
- package/_cjs/ethers/cleartext/decorators/decrypt.js.map +1 -0
- package/_cjs/ethers/cleartext/decorators/encrypt.js +9 -0
- package/_cjs/ethers/cleartext/decorators/encrypt.js.map +1 -0
- package/_cjs/ethers/cleartext/index.js +12 -0
- package/_cjs/ethers/cleartext/index.js.map +1 -0
- package/_cjs/ethers/clients/createFhevmBaseClient.js +2 -1
- package/_cjs/ethers/clients/createFhevmBaseClient.js.map +1 -1
- package/_cjs/ethers/clients/createFhevmClient.js +2 -2
- package/_cjs/ethers/clients/createFhevmClient.js.map +1 -1
- package/_cjs/ethers/clients/createFhevmDecryptClient.js +1 -1
- package/_cjs/ethers/clients/createFhevmDecryptClient.js.map +1 -1
- package/_cjs/ethers/clients/createFhevmEncryptClient.js +1 -1
- package/_cjs/ethers/clients/createFhevmEncryptClient.js.map +1 -1
- package/_cjs/{viem → ethers/clients}/decorators/decrypt.js +2 -2
- package/_cjs/ethers/clients/decorators/decrypt.js.map +1 -0
- package/_cjs/ethers/{decorators → clients/decorators}/encrypt.js +2 -2
- package/_cjs/ethers/clients/decorators/encrypt.js.map +1 -0
- package/_cjs/ethers/index.js +4 -3
- package/_cjs/ethers/index.js.map +1 -1
- package/_cjs/ethers/internal/config.js +32 -0
- package/_cjs/ethers/internal/config.js.map +1 -0
- package/_cjs/ethers/internal/ethereum-ct.js +42 -0
- package/_cjs/ethers/internal/ethereum-ct.js.map +1 -0
- package/_cjs/ethers/internal/ethers-p.js +0 -32
- package/_cjs/ethers/internal/ethers-p.js.map +1 -1
- package/_cjs/ethers/internal/runtime-ct.js +22 -0
- package/_cjs/ethers/internal/runtime-ct.js.map +1 -0
- package/_cjs/ethers/internal/runtime.js +22 -0
- package/_cjs/ethers/internal/runtime.js.map +1 -0
- package/_cjs/ethers/runtime/initFhevmDecryptRuntime.js +3 -2
- package/_cjs/ethers/runtime/initFhevmDecryptRuntime.js.map +1 -1
- package/_cjs/ethers/runtime/initFhevmEncryptRuntime.js +3 -2
- package/_cjs/ethers/runtime/initFhevmEncryptRuntime.js.map +1 -1
- package/_cjs/ethers/runtime/initFhevmRuntime.js +3 -2
- package/_cjs/ethers/runtime/initFhevmRuntime.js.map +1 -1
- package/_cjs/index.js +2 -0
- package/_cjs/index.js.map +1 -0
- package/_cjs/viem/cleartext/createFhevmCleartextBaseClient.js +17 -0
- package/_cjs/viem/cleartext/createFhevmCleartextBaseClient.js.map +1 -0
- package/_cjs/viem/cleartext/createFhevmCleartextClient.js +11 -0
- package/_cjs/viem/cleartext/createFhevmCleartextClient.js.map +1 -0
- package/_cjs/viem/cleartext/createFhevmCleartextDecryptClient.js +10 -0
- package/_cjs/viem/cleartext/createFhevmCleartextDecryptClient.js.map +1 -0
- package/_cjs/viem/cleartext/createFhevmCleartextEncryptClient.js +10 -0
- package/_cjs/viem/cleartext/createFhevmCleartextEncryptClient.js.map +1 -0
- package/_cjs/viem/cleartext/decorators/decrypt.js +9 -0
- package/_cjs/viem/cleartext/decorators/decrypt.js.map +1 -0
- package/_cjs/viem/cleartext/decorators/encrypt.js +9 -0
- package/_cjs/viem/cleartext/decorators/encrypt.js.map +1 -0
- package/_cjs/viem/cleartext/index.js +12 -0
- package/_cjs/viem/cleartext/index.js.map +1 -0
- package/_cjs/viem/clients/createFhevmBaseClient.js +2 -1
- package/_cjs/viem/clients/createFhevmBaseClient.js.map +1 -1
- package/_cjs/viem/clients/createFhevmClient.js +2 -2
- package/_cjs/viem/clients/createFhevmClient.js.map +1 -1
- package/_cjs/viem/clients/createFhevmDecryptClient.js +1 -1
- package/_cjs/viem/clients/createFhevmDecryptClient.js.map +1 -1
- package/_cjs/viem/clients/createFhevmEncryptClient.js +1 -1
- package/_cjs/viem/clients/createFhevmEncryptClient.js.map +1 -1
- package/_cjs/{ethers → viem/clients}/decorators/decrypt.js +2 -2
- package/_cjs/viem/clients/decorators/decrypt.js.map +1 -0
- package/_cjs/viem/{decorators → clients/decorators}/encrypt.js +2 -2
- package/_cjs/viem/clients/decorators/encrypt.js.map +1 -0
- package/_cjs/viem/index.js +6 -5
- package/_cjs/viem/index.js.map +1 -1
- package/_cjs/viem/internal/config.js +32 -0
- package/_cjs/viem/internal/config.js.map +1 -0
- package/_cjs/viem/internal/ethereum-ct.js +42 -0
- package/_cjs/viem/internal/ethereum-ct.js.map +1 -0
- package/_cjs/viem/internal/runtime-ct.js +22 -0
- package/_cjs/viem/internal/runtime-ct.js.map +1 -0
- package/_cjs/viem/internal/runtime.js +22 -0
- package/_cjs/viem/internal/runtime.js.map +1 -0
- package/_cjs/viem/internal/viem-p.js +0 -32
- package/_cjs/viem/internal/viem-p.js.map +1 -1
- package/_cjs/viem/runtime/initFhevmDecryptRuntime.js +2 -1
- package/_cjs/viem/runtime/initFhevmDecryptRuntime.js.map +1 -1
- package/_cjs/viem/runtime/initFhevmEncryptRuntime.js +2 -1
- package/_cjs/viem/runtime/initFhevmEncryptRuntime.js.map +1 -1
- package/_cjs/viem/runtime/initFhevmRuntime.js +2 -1
- package/_cjs/viem/runtime/initFhevmRuntime.js.map +1 -1
- package/_cjs/wasm/tfhe/startWorkers.v1.5.3.js +279 -426
- package/_cjs/wasm/tfhe/startWorkers.v1.5.3.js.map +7 -0
- package/_cjs/wasm/tfhe/tfhe.v1.5.3.js +2779 -3032
- package/_cjs/wasm/tfhe/tfhe.v1.5.3.js.map +7 -0
- package/_cjs/wasm/tfhe/tfhe_bg.v1.5.3.wasm.base64.js +29 -1
- package/_cjs/wasm/tfhe/tfhe_bg.v1.5.3.wasm.base64.js.map +7 -0
- package/_cjs/wasm/tkms/kms_lib.v0.13.10.js +1793 -1985
- package/_cjs/wasm/tkms/kms_lib.v0.13.10.js.map +7 -0
- package/_cjs/wasm/tkms/kms_lib_bg.v0.13.10.wasm.base64.js +29 -3
- package/_cjs/wasm/tkms/kms_lib_bg.v0.13.10.wasm.base64.js.map +7 -0
- package/_cjs/wasm/wasmBaseUrl.js +36 -14
- package/_cjs/wasm/wasmBaseUrl.js.map +7 -0
- package/_esm/core/_version.js +1 -1
- package/_esm/core/actions/base/fetchVerifiedInputProof.js +1 -1
- package/_esm/core/actions/base/fetchVerifiedInputProof.js.map +1 -1
- package/_esm/core/actions/base/signDecryptionPermit.js.map +1 -1
- package/_esm/core/actions/chain/index.js +4 -4
- package/_esm/core/actions/chain/index.js.map +1 -1
- package/_esm/core/actions/chain/parseSignedDecryptionPermit.js +2 -3
- package/_esm/core/actions/chain/parseSignedDecryptionPermit.js.map +1 -1
- package/_esm/core/actions/chain/parseTransportKeypair.js +1 -3
- package/_esm/core/actions/chain/parseTransportKeypair.js.map +1 -1
- package/_esm/core/actions/chain/serializeTransportKeypair.js +0 -1
- package/_esm/core/actions/chain/serializeTransportKeypair.js.map +1 -1
- package/_esm/core/actions/decrypt/decryptValue.js +5 -1
- package/_esm/core/actions/decrypt/decryptValue.js.map +1 -1
- package/_esm/core/actions/decrypt/decryptValues.js +5 -1
- package/_esm/core/actions/decrypt/decryptValues.js.map +1 -1
- package/_esm/core/actions/decrypt/decryptValuesFromPairs.js +5 -1
- package/_esm/core/actions/decrypt/decryptValuesFromPairs.js.map +1 -1
- package/_esm/core/actions/decrypt/index.js +2 -2
- package/_esm/core/actions/decrypt/index.js.map +1 -1
- package/_esm/core/actions/host/getUserDecryptionDelegationExpirationDate.js +13 -14
- package/_esm/core/actions/host/getUserDecryptionDelegationExpirationDate.js.map +1 -1
- package/_esm/core/base/bytes.js +7 -0
- package/_esm/core/base/bytes.js.map +1 -1
- package/_esm/core/base/sign.js +58 -0
- package/_esm/core/base/sign.js.map +1 -0
- package/_esm/core/base/typedValue.js +16 -0
- package/_esm/core/base/typedValue.js.map +1 -1
- package/_esm/core/base/uint.js +30 -0
- package/_esm/core/base/uint.js.map +1 -1
- package/_esm/core/clients/decorators/decrypt.js +3 -3
- package/_esm/core/clients/decorators/decrypt.js.map +1 -1
- package/_esm/core/coprocessor/InputProof-p.js +2 -2
- package/_esm/core/coprocessor/InputProof-p.js.map +1 -1
- package/_esm/core/coprocessor/ZkProof-p.js +19 -12
- package/_esm/core/coprocessor/ZkProof-p.js.map +1 -1
- package/_esm/core/coprocessor/ZkProofBuilder-p.js +7 -5
- package/_esm/core/coprocessor/ZkProofBuilder-p.js.map +1 -1
- package/_esm/core/coprocessor/encrypt.js +1 -3
- package/_esm/core/coprocessor/encrypt.js.map +1 -1
- package/_esm/core/coprocessor/fetchVerifiedInputProof.js +3 -4
- package/_esm/core/coprocessor/fetchVerifiedInputProof.js.map +1 -1
- package/_esm/core/handle/FheType.js +4 -2
- package/_esm/core/handle/FheType.js.map +1 -1
- package/_esm/core/host-contracts/KmsSignersContext-p.js +1 -1
- package/_esm/core/host-contracts/KmsSignersContext-p.js.map +1 -1
- package/_esm/core/host-contracts/checkDelegation.js +81 -0
- package/_esm/core/host-contracts/checkDelegation.js.map +1 -0
- package/_esm/core/host-contracts/getUserDecryptionDelegationExpirationDate.js +19 -0
- package/_esm/core/host-contracts/getUserDecryptionDelegationExpirationDate.js.map +1 -0
- package/_esm/core/host-contracts/isHandleDelegatedForUserDecryption-p.js +32 -0
- package/_esm/core/host-contracts/isHandleDelegatedForUserDecryption-p.js.map +1 -0
- package/_esm/core/host-contracts/persistAllowed.js +1 -1
- package/_esm/core/host-contracts/persistAllowed.js.map +1 -1
- package/_esm/core/kms/fetchKmsSignedcryptedShares-p.js +18 -8
- package/_esm/core/kms/fetchKmsSignedcryptedShares-p.js.map +1 -1
- package/_esm/core/kms/publicDecrypt.js +1 -4
- package/_esm/core/kms/publicDecrypt.js.map +1 -1
- package/_esm/core/modules/decrypt/mock.js +96 -10
- package/_esm/core/modules/decrypt/mock.js.map +1 -1
- package/_esm/core/modules/encrypt/mock.js +151 -12
- package/_esm/core/modules/encrypt/mock.js.map +1 -1
- package/_esm/core/modules/encrypt/module/api-p.js +7 -2
- package/_esm/core/modules/encrypt/module/api-p.js.map +1 -1
- package/_esm/core/modules/ethereum/types-ct.js +2 -0
- package/_esm/core/modules/ethereum/types-ct.js.map +1 -0
- package/_esm/core/modules/relayer/cleartext/fetchCoprocessorSignatures.js +75 -0
- package/_esm/core/modules/relayer/cleartext/fetchCoprocessorSignatures.js.map +1 -0
- package/_esm/core/modules/relayer/cleartext/fetchDelegatedUserDecrypt.js +121 -0
- package/_esm/core/modules/relayer/cleartext/fetchDelegatedUserDecrypt.js.map +1 -0
- package/_esm/core/modules/relayer/cleartext/fetchPublicDecrypt.js +52 -0
- package/_esm/core/modules/relayer/cleartext/fetchPublicDecrypt.js.map +1 -0
- package/_esm/core/modules/relayer/cleartext/fetchUserDecrypt.js +119 -0
- package/_esm/core/modules/relayer/cleartext/fetchUserDecrypt.js.map +1 -0
- package/_esm/core/modules/relayer/cleartext/mock.js +39 -0
- package/_esm/core/modules/relayer/cleartext/mock.js.map +1 -0
- package/_esm/core/modules/relayer/cleartext/signers.js +34 -0
- package/_esm/core/modules/relayer/cleartext/signers.js.map +1 -0
- package/_esm/core/modules/relayer/module/fetchCoprocessorSignatures.js +2 -2
- package/_esm/core/modules/relayer/module/fetchCoprocessorSignatures.js.map +1 -1
- package/_esm/core/modules/relayer/module/fetchDelegatedUserDecrypt.js +1 -1
- package/_esm/core/modules/relayer/module/fetchDelegatedUserDecrypt.js.map +1 -1
- package/_esm/core/modules/relayer/module/fetchPublicDecrypt.js +1 -1
- package/_esm/core/modules/relayer/module/fetchPublicDecrypt.js.map +1 -1
- package/_esm/core/modules/relayer/module/fetchUserDecrypt.js +1 -1
- package/_esm/core/modules/relayer/module/fetchUserDecrypt.js.map +1 -1
- package/_esm/core/modules/relayer/utils.js +13 -0
- package/_esm/core/modules/relayer/utils.js.map +1 -0
- package/_esm/ethers/cleartext/createFhevmCleartextBaseClient.js +15 -0
- package/_esm/ethers/cleartext/createFhevmCleartextBaseClient.js.map +1 -0
- package/_esm/ethers/cleartext/createFhevmCleartextClient.js +9 -0
- package/_esm/ethers/cleartext/createFhevmCleartextClient.js.map +1 -0
- package/_esm/ethers/cleartext/createFhevmCleartextDecryptClient.js +8 -0
- package/_esm/ethers/cleartext/createFhevmCleartextDecryptClient.js.map +1 -0
- package/_esm/ethers/cleartext/createFhevmCleartextEncryptClient.js +8 -0
- package/_esm/ethers/cleartext/createFhevmCleartextEncryptClient.js.map +1 -0
- package/_esm/ethers/cleartext/decorators/decrypt.js +7 -0
- package/_esm/ethers/cleartext/decorators/decrypt.js.map +1 -0
- package/_esm/ethers/cleartext/decorators/encrypt.js +7 -0
- package/_esm/ethers/cleartext/decorators/encrypt.js.map +1 -0
- package/_esm/ethers/cleartext/index.js +5 -0
- package/_esm/ethers/cleartext/index.js.map +1 -0
- package/_esm/ethers/clients/createFhevmBaseClient.js +2 -1
- package/_esm/ethers/clients/createFhevmBaseClient.js.map +1 -1
- package/_esm/ethers/clients/createFhevmClient.js +2 -2
- package/_esm/ethers/clients/createFhevmClient.js.map +1 -1
- package/_esm/ethers/clients/createFhevmDecryptClient.js +1 -1
- package/_esm/ethers/clients/createFhevmDecryptClient.js.map +1 -1
- package/_esm/ethers/clients/createFhevmEncryptClient.js +1 -1
- package/_esm/ethers/clients/createFhevmEncryptClient.js.map +1 -1
- package/_esm/ethers/clients/decorators/decrypt.js +7 -0
- package/_esm/ethers/clients/decorators/decrypt.js.map +1 -0
- package/_esm/ethers/clients/decorators/encrypt.js +7 -0
- package/_esm/ethers/clients/decorators/encrypt.js.map +1 -0
- package/_esm/ethers/index.js +1 -1
- package/_esm/ethers/index.js.map +1 -1
- package/_esm/ethers/internal/config.js +38 -0
- package/_esm/ethers/internal/config.js.map +1 -0
- package/_esm/ethers/internal/ethereum-ct.js +39 -0
- package/_esm/ethers/internal/ethereum-ct.js.map +1 -0
- package/_esm/ethers/internal/ethers-p.js +0 -43
- package/_esm/ethers/internal/ethers-p.js.map +1 -1
- package/_esm/ethers/internal/runtime-ct.js +21 -0
- package/_esm/ethers/internal/runtime-ct.js.map +1 -0
- package/_esm/ethers/internal/runtime.js +21 -0
- package/_esm/ethers/internal/runtime.js.map +1 -0
- package/_esm/ethers/runtime/initFhevmDecryptRuntime.js +2 -1
- package/_esm/ethers/runtime/initFhevmDecryptRuntime.js.map +1 -1
- package/_esm/ethers/runtime/initFhevmEncryptRuntime.js +2 -1
- package/_esm/ethers/runtime/initFhevmEncryptRuntime.js.map +1 -1
- package/_esm/ethers/runtime/initFhevmRuntime.js +2 -1
- package/_esm/ethers/runtime/initFhevmRuntime.js.map +1 -1
- package/_esm/index.js +2 -0
- package/_esm/index.js.map +1 -0
- package/_esm/viem/cleartext/createFhevmCleartextBaseClient.js +15 -0
- package/_esm/viem/cleartext/createFhevmCleartextBaseClient.js.map +1 -0
- package/_esm/viem/cleartext/createFhevmCleartextClient.js +9 -0
- package/_esm/viem/cleartext/createFhevmCleartextClient.js.map +1 -0
- package/_esm/viem/cleartext/createFhevmCleartextDecryptClient.js +8 -0
- package/_esm/viem/cleartext/createFhevmCleartextDecryptClient.js.map +1 -0
- package/_esm/viem/cleartext/createFhevmCleartextEncryptClient.js +8 -0
- package/_esm/viem/cleartext/createFhevmCleartextEncryptClient.js.map +1 -0
- package/_esm/viem/cleartext/decorators/decrypt.js +7 -0
- package/_esm/viem/cleartext/decorators/decrypt.js.map +1 -0
- package/_esm/viem/cleartext/decorators/encrypt.js +7 -0
- package/_esm/viem/cleartext/decorators/encrypt.js.map +1 -0
- package/_esm/viem/cleartext/index.js +5 -0
- package/_esm/viem/cleartext/index.js.map +1 -0
- package/_esm/viem/clients/createFhevmBaseClient.js +2 -1
- package/_esm/viem/clients/createFhevmBaseClient.js.map +1 -1
- package/_esm/viem/clients/createFhevmClient.js +2 -2
- package/_esm/viem/clients/createFhevmClient.js.map +1 -1
- package/_esm/viem/clients/createFhevmDecryptClient.js +1 -1
- package/_esm/viem/clients/createFhevmDecryptClient.js.map +1 -1
- package/_esm/viem/clients/createFhevmEncryptClient.js +1 -2
- package/_esm/viem/clients/createFhevmEncryptClient.js.map +1 -1
- package/_esm/viem/clients/decorators/decrypt.js +7 -0
- package/_esm/viem/clients/decorators/decrypt.js.map +1 -0
- package/_esm/viem/clients/decorators/encrypt.js +7 -0
- package/_esm/viem/clients/decorators/encrypt.js.map +1 -0
- package/_esm/viem/index.js +2 -2
- package/_esm/viem/index.js.map +1 -1
- package/_esm/viem/internal/config.js +38 -0
- package/_esm/viem/internal/config.js.map +1 -0
- package/_esm/viem/internal/ethereum-ct.js +39 -0
- package/_esm/viem/internal/ethereum-ct.js.map +1 -0
- package/_esm/viem/internal/runtime-ct.js +21 -0
- package/_esm/viem/internal/runtime-ct.js.map +1 -0
- package/_esm/viem/internal/runtime.js +21 -0
- package/_esm/viem/internal/runtime.js.map +1 -0
- package/_esm/viem/internal/viem-p.js +0 -43
- package/_esm/viem/internal/viem-p.js.map +1 -1
- package/_esm/viem/runtime/initFhevmDecryptRuntime.js +2 -1
- package/_esm/viem/runtime/initFhevmDecryptRuntime.js.map +1 -1
- package/_esm/viem/runtime/initFhevmEncryptRuntime.js +2 -1
- package/_esm/viem/runtime/initFhevmEncryptRuntime.js.map +1 -1
- package/_esm/viem/runtime/initFhevmRuntime.js +2 -1
- package/_esm/viem/runtime/initFhevmRuntime.js.map +1 -1
- package/_types/core/actions/base/signDecryptionPermit.d.ts.map +1 -1
- package/_types/core/actions/chain/index.d.ts +4 -4
- package/_types/core/actions/chain/index.d.ts.map +1 -1
- package/_types/core/actions/chain/parseSignedDecryptionPermit.d.ts +7 -2
- package/_types/core/actions/chain/parseSignedDecryptionPermit.d.ts.map +1 -1
- package/_types/core/actions/chain/parseTransportKeypair.d.ts +2 -2
- package/_types/core/actions/chain/parseTransportKeypair.d.ts.map +1 -1
- package/_types/core/actions/chain/verifyKmsDelegatedUserDecryptEip712.d.ts +1 -1
- package/_types/core/actions/chain/verifyKmsDelegatedUserDecryptEip712.d.ts.map +1 -1
- package/_types/core/actions/decrypt/decryptValue.d.ts +5 -13
- package/_types/core/actions/decrypt/decryptValue.d.ts.map +1 -1
- package/_types/core/actions/decrypt/decryptValues.d.ts +5 -13
- package/_types/core/actions/decrypt/decryptValues.d.ts.map +1 -1
- package/_types/core/actions/decrypt/decryptValuesFromPairs.d.ts +5 -13
- package/_types/core/actions/decrypt/decryptValuesFromPairs.d.ts.map +1 -1
- package/_types/core/actions/decrypt/index.d.ts +3 -3
- package/_types/core/actions/decrypt/index.d.ts.map +1 -1
- package/_types/core/actions/host/getUserDecryptionDelegationExpirationDate.d.ts +5 -2
- package/_types/core/actions/host/getUserDecryptionDelegationExpirationDate.d.ts.map +1 -1
- package/_types/core/base/bytes.d.ts +1 -0
- package/_types/core/base/bytes.d.ts.map +1 -1
- package/_types/core/base/sign.d.ts +10 -0
- package/_types/core/base/sign.d.ts.map +1 -0
- package/_types/core/base/typedValue.d.ts +2 -1
- package/_types/core/base/typedValue.d.ts.map +1 -1
- package/_types/core/base/uint.d.ts +3 -0
- package/_types/core/base/uint.d.ts.map +1 -1
- package/_types/core/clients/decorators/decrypt.d.ts +6 -15
- package/_types/core/clients/decorators/decrypt.d.ts.map +1 -1
- package/_types/core/coprocessor/ZkProof-p.d.ts +2 -2
- package/_types/core/coprocessor/ZkProof-p.d.ts.map +1 -1
- package/_types/core/coprocessor/ZkProofBuilder-p.d.ts +2 -1
- package/_types/core/coprocessor/ZkProofBuilder-p.d.ts.map +1 -1
- package/_types/core/coprocessor/encrypt.d.ts.map +1 -1
- package/_types/core/coprocessor/fetchVerifiedInputProof.d.ts +0 -2
- package/_types/core/coprocessor/fetchVerifiedInputProof.d.ts.map +1 -1
- package/_types/core/handle/FheType.d.ts +1 -0
- package/_types/core/handle/FheType.d.ts.map +1 -1
- package/_types/core/host-contracts/checkDelegation.d.ts +22 -0
- package/_types/core/host-contracts/checkDelegation.d.ts.map +1 -0
- package/_types/core/host-contracts/getUserDecryptionDelegationExpirationDate.d.ts +19 -0
- package/_types/core/host-contracts/getUserDecryptionDelegationExpirationDate.d.ts.map +1 -0
- package/_types/core/host-contracts/isHandleDelegatedForUserDecryption-p.d.ts +20 -0
- package/_types/core/host-contracts/isHandleDelegatedForUserDecryption-p.d.ts.map +1 -0
- package/_types/core/kms/fetchKmsSignedcryptedShares-p.d.ts.map +1 -1
- package/_types/core/kms/publicDecrypt.d.ts.map +1 -1
- package/_types/core/modules/decrypt/mock.d.ts +5 -5
- package/_types/core/modules/decrypt/mock.d.ts.map +1 -1
- package/_types/core/modules/encrypt/mock.d.ts +6 -6
- package/_types/core/modules/encrypt/mock.d.ts.map +1 -1
- package/_types/core/modules/encrypt/module/api-p.d.ts.map +1 -1
- package/_types/core/modules/encrypt/types.d.ts +6 -2
- package/_types/core/modules/encrypt/types.d.ts.map +1 -1
- package/_types/core/modules/ethereum/types-ct.d.ts +46 -0
- package/_types/core/modules/ethereum/types-ct.d.ts.map +1 -0
- package/_types/core/modules/relayer/cleartext/fetchCoprocessorSignatures.d.ts +3 -0
- package/_types/core/modules/relayer/cleartext/fetchCoprocessorSignatures.d.ts.map +1 -0
- package/_types/core/modules/relayer/cleartext/fetchDelegatedUserDecrypt.d.ts +3 -0
- package/_types/core/modules/relayer/cleartext/fetchDelegatedUserDecrypt.d.ts.map +1 -0
- package/_types/core/modules/relayer/cleartext/fetchPublicDecrypt.d.ts +3 -0
- package/_types/core/modules/relayer/cleartext/fetchPublicDecrypt.d.ts.map +1 -0
- package/_types/core/modules/relayer/cleartext/fetchUserDecrypt.d.ts +3 -0
- package/_types/core/modules/relayer/cleartext/fetchUserDecrypt.d.ts.map +1 -0
- package/_types/core/modules/relayer/cleartext/mock.d.ts +3 -0
- package/_types/core/modules/relayer/cleartext/mock.d.ts.map +1 -0
- package/_types/core/modules/relayer/cleartext/signers.d.ts +7 -0
- package/_types/core/modules/relayer/cleartext/signers.d.ts.map +1 -0
- package/_types/core/modules/relayer/module/fetchCoprocessorSignatures.d.ts +2 -2
- package/_types/core/modules/relayer/module/fetchCoprocessorSignatures.d.ts.map +1 -1
- package/_types/core/modules/relayer/module/fetchDelegatedUserDecrypt.d.ts +2 -2
- package/_types/core/modules/relayer/module/fetchDelegatedUserDecrypt.d.ts.map +1 -1
- package/_types/core/modules/relayer/module/fetchPublicDecrypt.d.ts +2 -2
- package/_types/core/modules/relayer/module/fetchPublicDecrypt.d.ts.map +1 -1
- package/_types/core/modules/relayer/module/fetchUserDecrypt.d.ts +2 -2
- package/_types/core/modules/relayer/module/fetchUserDecrypt.d.ts.map +1 -1
- package/_types/core/modules/relayer/types.d.ts +14 -5
- package/_types/core/modules/relayer/types.d.ts.map +1 -1
- package/_types/core/modules/relayer/utils.d.ts +4 -0
- package/_types/core/modules/relayer/utils.d.ts.map +1 -0
- package/_types/core/types/index.d.ts +1 -0
- package/_types/core/types/index.d.ts.map +1 -1
- package/_types/core/types/kms.d.ts +21 -0
- package/_types/core/types/kms.d.ts.map +1 -1
- package/_types/core/types/zkProof-p.d.ts +2 -1
- package/_types/core/types/zkProof-p.d.ts.map +1 -1
- package/_types/ethers/cleartext/createFhevmCleartextBaseClient.d.ts +11 -0
- package/_types/ethers/cleartext/createFhevmCleartextBaseClient.d.ts.map +1 -0
- package/_types/ethers/cleartext/createFhevmCleartextClient.d.ts +11 -0
- package/_types/ethers/cleartext/createFhevmCleartextClient.d.ts.map +1 -0
- package/_types/ethers/cleartext/createFhevmCleartextDecryptClient.d.ts +11 -0
- package/_types/ethers/cleartext/createFhevmCleartextDecryptClient.d.ts.map +1 -0
- package/_types/ethers/cleartext/createFhevmCleartextEncryptClient.d.ts +11 -0
- package/_types/ethers/cleartext/createFhevmCleartextEncryptClient.d.ts.map +1 -0
- package/_types/ethers/cleartext/decorators/decrypt.d.ts +6 -0
- package/_types/ethers/cleartext/decorators/decrypt.d.ts.map +1 -0
- package/_types/ethers/cleartext/decorators/encrypt.d.ts +6 -0
- package/_types/ethers/cleartext/decorators/encrypt.d.ts.map +1 -0
- package/_types/ethers/cleartext/index.d.ts +5 -0
- package/_types/ethers/cleartext/index.d.ts.map +1 -0
- package/_types/ethers/clients/createFhevmBaseClient.d.ts.map +1 -1
- package/_types/ethers/clients/decorators/decrypt.d.ts +6 -0
- package/_types/ethers/clients/decorators/decrypt.d.ts.map +1 -0
- package/_types/ethers/clients/decorators/encrypt.d.ts +6 -0
- package/_types/ethers/clients/decorators/encrypt.d.ts.map +1 -0
- package/_types/ethers/index.d.ts +1 -1
- package/_types/ethers/index.d.ts.map +1 -1
- package/_types/ethers/internal/config.d.ts +15 -0
- package/_types/ethers/internal/config.d.ts.map +1 -0
- package/_types/ethers/internal/ethereum-ct.d.ts +3 -0
- package/_types/ethers/internal/ethereum-ct.d.ts.map +1 -0
- package/_types/ethers/internal/ethers-p.d.ts +1 -13
- package/_types/ethers/internal/ethers-p.d.ts.map +1 -1
- package/_types/ethers/internal/runtime-ct.d.ts +3 -0
- package/_types/ethers/internal/runtime-ct.d.ts.map +1 -0
- package/_types/ethers/internal/runtime.d.ts +3 -0
- package/_types/ethers/internal/runtime.d.ts.map +1 -0
- package/_types/ethers/runtime/initFhevmDecryptRuntime.d.ts.map +1 -1
- package/_types/ethers/runtime/initFhevmEncryptRuntime.d.ts.map +1 -1
- package/_types/ethers/runtime/initFhevmRuntime.d.ts.map +1 -1
- package/_types/index.d.ts +2 -0
- package/_types/index.d.ts.map +1 -0
- package/_types/viem/cleartext/createFhevmCleartextBaseClient.d.ts +11 -0
- package/_types/viem/cleartext/createFhevmCleartextBaseClient.d.ts.map +1 -0
- package/_types/viem/cleartext/createFhevmCleartextClient.d.ts +11 -0
- package/_types/viem/cleartext/createFhevmCleartextClient.d.ts.map +1 -0
- package/_types/viem/cleartext/createFhevmCleartextDecryptClient.d.ts +11 -0
- package/_types/viem/cleartext/createFhevmCleartextDecryptClient.d.ts.map +1 -0
- package/_types/viem/cleartext/createFhevmCleartextEncryptClient.d.ts +11 -0
- package/_types/viem/cleartext/createFhevmCleartextEncryptClient.d.ts.map +1 -0
- package/_types/viem/cleartext/decorators/decrypt.d.ts +6 -0
- package/_types/viem/cleartext/decorators/decrypt.d.ts.map +1 -0
- package/_types/viem/cleartext/decorators/encrypt.d.ts +6 -0
- package/_types/viem/cleartext/decorators/encrypt.d.ts.map +1 -0
- package/_types/viem/cleartext/index.d.ts +5 -0
- package/_types/viem/cleartext/index.d.ts.map +1 -0
- package/_types/viem/clients/createFhevmBaseClient.d.ts.map +1 -1
- package/_types/viem/clients/decorators/decrypt.d.ts +6 -0
- package/_types/viem/clients/decorators/decrypt.d.ts.map +1 -0
- package/_types/viem/clients/decorators/encrypt.d.ts +6 -0
- package/_types/viem/clients/decorators/encrypt.d.ts.map +1 -0
- package/_types/viem/index.d.ts +2 -2
- package/_types/viem/index.d.ts.map +1 -1
- package/_types/viem/internal/config.d.ts +15 -0
- package/_types/viem/internal/config.d.ts.map +1 -0
- package/_types/viem/internal/ethereum-ct.d.ts +3 -0
- package/_types/viem/internal/ethereum-ct.d.ts.map +1 -0
- package/_types/viem/internal/runtime-ct.d.ts +3 -0
- package/_types/viem/internal/runtime-ct.d.ts.map +1 -0
- package/_types/viem/internal/runtime.d.ts +3 -0
- package/_types/viem/internal/runtime.d.ts.map +1 -0
- package/_types/viem/internal/viem-p.d.ts +1 -13
- package/_types/viem/internal/viem-p.d.ts.map +1 -1
- package/_types/viem/runtime/initFhevmDecryptRuntime.d.ts.map +1 -1
- package/_types/viem/runtime/initFhevmEncryptRuntime.d.ts.map +1 -1
- package/_types/viem/runtime/initFhevmRuntime.d.ts.map +1 -1
- package/core/_version.ts +1 -1
- package/core/actions/base/fetchVerifiedInputProof.ts +1 -1
- package/core/actions/base/signDecryptionPermit.ts +2 -0
- package/core/actions/chain/index.ts +11 -11
- package/core/actions/chain/parseSignedDecryptionPermit.ts +9 -6
- package/core/actions/chain/parseTransportKeypair.ts +3 -7
- package/core/actions/chain/serializeTransportKeypair.ts +0 -2
- package/core/actions/chain/verifyKmsDelegatedUserDecryptEip712.ts +1 -1
- package/core/actions/decrypt/decryptValue.ts +9 -28
- package/core/actions/decrypt/decryptValues.ts +9 -28
- package/core/actions/decrypt/decryptValuesFromPairs.ts +9 -28
- package/core/actions/decrypt/index.ts +3 -14
- package/core/actions/host/getUserDecryptionDelegationExpirationDate.ts +22 -18
- package/core/base/bytes.ts +8 -0
- package/core/base/sign.ts +75 -0
- package/core/base/typedValue.ts +18 -0
- package/core/base/uint.ts +32 -0
- package/core/clients/decorators/decrypt.ts +12 -28
- package/core/coprocessor/InputProof-p.ts +2 -2
- package/core/coprocessor/ZkProof-p.ts +21 -9
- package/core/coprocessor/ZkProofBuilder-p.ts +15 -8
- package/core/coprocessor/encrypt.ts +1 -3
- package/core/coprocessor/fetchVerifiedInputProof.ts +7 -13
- package/core/handle/FheType.ts +5 -2
- package/core/host-contracts/KmsSignersContext-p.ts +1 -1
- package/core/host-contracts/checkDelegation.ts +114 -0
- package/core/host-contracts/getUserDecryptionDelegationExpirationDate.ts +45 -0
- package/core/host-contracts/isHandleDelegatedForUserDecryption-p.ts +77 -0
- package/core/host-contracts/persistAllowed.ts +1 -1
- package/core/kms/fetchKmsSignedcryptedShares-p.ts +31 -29
- package/core/kms/publicDecrypt.ts +6 -12
- package/core/modules/decrypt/mock.ts +126 -13
- package/core/modules/encrypt/mock.ts +206 -12
- package/core/modules/encrypt/module/api-p.ts +7 -2
- package/core/modules/encrypt/types.ts +6 -2
- package/core/modules/ethereum/types-ct.ts +89 -0
- package/core/modules/relayer/cleartext/fetchCoprocessorSignatures.ts +94 -0
- package/core/modules/relayer/cleartext/fetchDelegatedUserDecrypt.ts +147 -0
- package/core/modules/relayer/cleartext/fetchPublicDecrypt.ts +67 -0
- package/core/modules/relayer/cleartext/fetchUserDecrypt.ts +141 -0
- package/core/modules/relayer/cleartext/mock.ts +54 -0
- package/core/modules/relayer/cleartext/signers.ts +52 -0
- package/core/modules/relayer/module/fetchCoprocessorSignatures.ts +4 -4
- package/core/modules/relayer/module/fetchDelegatedUserDecrypt.ts +3 -3
- package/core/modules/relayer/module/fetchPublicDecrypt.ts +3 -3
- package/core/modules/relayer/module/fetchUserDecrypt.ts +3 -3
- package/core/modules/relayer/types.ts +13 -5
- package/core/modules/relayer/utils.ts +17 -0
- package/core/types/index.ts +1 -0
- package/core/types/kms.ts +19 -0
- package/core/types/zkProof-p.ts +3 -1
- package/ethers/cleartext/createFhevmCleartextBaseClient.ts +25 -0
- package/ethers/cleartext/createFhevmCleartextClient.ts +20 -0
- package/ethers/cleartext/createFhevmCleartextDecryptClient.ts +18 -0
- package/ethers/cleartext/createFhevmCleartextEncryptClient.ts +19 -0
- package/ethers/cleartext/decorators/decrypt.ts +12 -0
- package/ethers/cleartext/decorators/encrypt.ts +12 -0
- package/ethers/cleartext/index.ts +4 -0
- package/ethers/cleartext/package.json +6 -0
- package/ethers/clients/createFhevmBaseClient.ts +2 -1
- package/ethers/clients/createFhevmClient.ts +2 -2
- package/ethers/clients/createFhevmDecryptClient.ts +1 -1
- package/ethers/clients/createFhevmEncryptClient.ts +1 -1
- package/ethers/clients/decorators/decrypt.ts +12 -0
- package/ethers/clients/decorators/encrypt.ts +12 -0
- package/ethers/index.ts +1 -1
- package/ethers/internal/config.ts +50 -0
- package/ethers/internal/ethereum-ct.ts +61 -0
- package/ethers/internal/ethers-p.ts +1 -56
- package/ethers/internal/runtime-ct.ts +28 -0
- package/ethers/internal/runtime.ts +28 -0
- package/ethers/runtime/initFhevmDecryptRuntime.ts +2 -1
- package/ethers/runtime/initFhevmEncryptRuntime.ts +2 -1
- package/ethers/runtime/initFhevmRuntime.ts +2 -1
- package/index.ts +0 -0
- package/package.json +14 -2
- package/viem/cleartext/createFhevmCleartextBaseClient.ts +28 -0
- package/viem/cleartext/createFhevmCleartextClient.ts +20 -0
- package/viem/cleartext/createFhevmCleartextDecryptClient.ts +21 -0
- package/viem/cleartext/createFhevmCleartextEncryptClient.ts +22 -0
- package/viem/cleartext/decorators/decrypt.ts +12 -0
- package/viem/cleartext/decorators/encrypt.ts +12 -0
- package/viem/cleartext/index.ts +4 -0
- package/viem/cleartext/package.json +6 -0
- package/viem/clients/createFhevmBaseClient.ts +2 -1
- package/viem/clients/createFhevmClient.ts +2 -2
- package/viem/clients/createFhevmDecryptClient.ts +1 -1
- package/viem/clients/createFhevmEncryptClient.ts +1 -3
- package/viem/clients/decorators/decrypt.ts +12 -0
- package/viem/clients/decorators/encrypt.ts +12 -0
- package/viem/index.ts +2 -2
- package/viem/internal/config.ts +50 -0
- package/viem/internal/ethereum-ct.ts +61 -0
- package/viem/internal/runtime-ct.ts +28 -0
- package/viem/internal/runtime.ts +28 -0
- package/viem/internal/viem-p.ts +1 -56
- package/viem/runtime/initFhevmDecryptRuntime.ts +2 -1
- package/viem/runtime/initFhevmEncryptRuntime.ts +2 -1
- package/viem/runtime/initFhevmRuntime.ts +2 -1
- package/_cjs/core/modules/relayer/mock.js +0 -29
- package/_cjs/core/modules/relayer/mock.js.map +0 -1
- package/_cjs/ethers/decorators/decrypt.js.map +0 -1
- package/_cjs/ethers/decorators/encrypt.js.map +0 -1
- package/_cjs/viem/decorators/decrypt.js.map +0 -1
- package/_cjs/viem/decorators/encrypt.js.map +0 -1
- package/_esm/core/modules/relayer/mock.js +0 -28
- package/_esm/core/modules/relayer/mock.js.map +0 -1
- package/_esm/ethers/decorators/decrypt.js +0 -7
- package/_esm/ethers/decorators/decrypt.js.map +0 -1
- package/_esm/ethers/decorators/encrypt.js +0 -7
- package/_esm/ethers/decorators/encrypt.js.map +0 -1
- package/_esm/viem/decorators/decrypt.js +0 -7
- package/_esm/viem/decorators/decrypt.js.map +0 -1
- package/_esm/viem/decorators/encrypt.js +0 -7
- package/_esm/viem/decorators/encrypt.js.map +0 -1
- package/_types/core/modules/relayer/mock.d.ts +0 -3
- package/_types/core/modules/relayer/mock.d.ts.map +0 -1
- package/_types/ethers/decorators/decrypt.d.ts +0 -6
- package/_types/ethers/decorators/decrypt.d.ts.map +0 -1
- package/_types/ethers/decorators/encrypt.d.ts +0 -6
- package/_types/ethers/decorators/encrypt.d.ts.map +0 -1
- package/_types/viem/decorators/decrypt.d.ts +0 -6
- package/_types/viem/decorators/decrypt.d.ts.map +0 -1
- package/_types/viem/decorators/encrypt.d.ts +0 -6
- package/_types/viem/decorators/encrypt.d.ts.map +0 -1
- package/core/modules/relayer/mock.ts +0 -47
- package/ethers/decorators/decrypt.ts +0 -12
- package/ethers/decorators/encrypt.ts +0 -12
- package/viem/decorators/decrypt.ts +0 -12
- package/viem/decorators/encrypt.ts +0 -12
|
@@ -3,22 +3,13 @@ import type { WithDecrypt } from '../../types/coreFhevmRuntime.js';
|
|
|
3
3
|
import type { FhevmChain } from '../../types/fhevmChain.js';
|
|
4
4
|
import type { GenerateTransportKeypairReturnType } from '../../actions/decrypt/generateTransportKeypair.js';
|
|
5
5
|
import type { DecryptModuleFactory } from '../../modules/decrypt/types.js';
|
|
6
|
-
import { type
|
|
7
|
-
import { type
|
|
8
|
-
import { type
|
|
6
|
+
import { type DecryptValueParameters, type DecryptValueReturnType } from '../../actions/decrypt/decryptValue.js';
|
|
7
|
+
import { type DecryptValuesParameters, type DecryptValuesReturnType } from '../../actions/decrypt/decryptValues.js';
|
|
8
|
+
import { type DecryptValuesFromPairsParameters, type DecryptValuesFromPairsReturnType } from '../../actions/decrypt/decryptValuesFromPairs.js';
|
|
9
9
|
export type DecryptActions = {
|
|
10
|
-
readonly decryptValue:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
readonly decryptValues: {
|
|
15
|
-
(parameters: DecryptSelfValuesParameters): Promise<DecryptValuesReturnType>;
|
|
16
|
-
(parameters: DecryptDelegatedValuesParameters): Promise<DecryptValuesReturnType>;
|
|
17
|
-
};
|
|
18
|
-
readonly decryptValuesFromPairs: {
|
|
19
|
-
(parameters: DecryptSelfValuesFromPairsParameters): Promise<DecryptValuesFromPairsReturnType>;
|
|
20
|
-
(parameters: DecryptDelegatedValuesFromPairsParameters): Promise<DecryptValuesFromPairsReturnType>;
|
|
21
|
-
};
|
|
10
|
+
readonly decryptValue: (parameters: DecryptValueParameters) => Promise<DecryptValueReturnType>;
|
|
11
|
+
readonly decryptValues: (parameters: DecryptValuesParameters) => Promise<DecryptValuesReturnType>;
|
|
12
|
+
readonly decryptValuesFromPairs: (parameters: DecryptValuesFromPairsParameters) => Promise<DecryptValuesFromPairsReturnType>;
|
|
22
13
|
readonly generateTransportKeypair: () => Promise<GenerateTransportKeypairReturnType>;
|
|
23
14
|
};
|
|
24
15
|
export declare function decryptActionsWithModule(fhevm: FhevmBase<FhevmChain>, factory: DecryptModuleFactory): FhevmExtension<DecryptActions, WithDecrypt>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decrypt.d.ts","sourceRoot":"","sources":["../../../../core/clients/decorators/decrypt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"decrypt.d.ts","sourceRoot":"","sources":["../../../../core/clients/decorators/decrypt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAS,SAAS,EAAE,cAAc,EAAwB,MAAM,gCAAgC,CAAC;AAC7G,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,mDAAmD,CAAC;AAC5G,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAG3E,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC7B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACtC,MAAM,iDAAiD,CAAC;AAIzD,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,sBAAsB,KAAK,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC/F,QAAQ,CAAC,aAAa,EAAE,CAAC,UAAU,EAAE,uBAAuB,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAElG,QAAQ,CAAC,sBAAsB,EAAE,CAC/B,UAAU,EAAE,gCAAgC,KACzC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC/C,QAAQ,CAAC,wBAAwB,EAAE,MAAM,OAAO,CAAC,kCAAkC,CAAC,CAAC;CACtF,CAAC;AAwBF,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,SAAS,CAAC,UAAU,CAAC,EAC5B,OAAO,EAAE,oBAAoB,GAC5B,cAAc,CAAC,cAAc,EAAE,WAAW,CAAC,CAQ7C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Bytes } from '../types/primitives.js';
|
|
1
|
+
import type { Bytes, BytesHex } from '../types/primitives.js';
|
|
2
2
|
import type { ZkProofLike, ZkProof } from '../types/zkProof-p.js';
|
|
3
3
|
import type { ErrorMetadataParams } from '../base/errors/ErrorBase.js';
|
|
4
4
|
import type { ParseTFHEProvenCompactCiphertextListModuleFunction } from '../modules/encrypt/types.js';
|
|
@@ -24,7 +24,7 @@ export declare function assertIsZkProof(value: unknown, options: {
|
|
|
24
24
|
* @throws A {@link ZkProofError} if ciphertextWithZkProof is invalid or empty.
|
|
25
25
|
* @throws A {@link InvalidTypeError} if any field fails validation.
|
|
26
26
|
*/
|
|
27
|
-
export declare function toZkProof(zkProofLike: ZkProofLike, options?: {
|
|
27
|
+
export declare function toZkProof(zkProofLike: ZkProofLike, extraData: BytesHex, options?: {
|
|
28
28
|
readonly zkProofParser?: ParseTFHEProvenCompactCiphertextListModuleFunction;
|
|
29
29
|
readonly copy?: boolean;
|
|
30
30
|
}): Promise<ZkProof>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZkProof-p.d.ts","sourceRoot":"","sources":["../../../core/coprocessor/ZkProof-p.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,KAAK,
|
|
1
|
+
{"version":3,"file":"ZkProof-p.d.ts","sourceRoot":"","sources":["../../../core/coprocessor/ZkProof-p.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,KAAK,EAML,QAAQ,EACT,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,OAAO,KAAK,EAAE,kDAAkD,EAAE,MAAM,6BAA6B,CAAC;AACtG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAwBhE,eAAO,MAAM,yCAAyC,aAAa,CAAC;AACpE,eAAO,MAAM,kCAAkC,aAAa,CAAC;AAyJ7D,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,OAAO,CAE1D;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,OAAO,EACd,OAAO,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,mBAAmB,GAClD,OAAO,CAAC,KAAK,IAAI,OAAO,CAW1B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,SAAS,CAC7B,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,QAAQ,EACnB,OAAO,CAAC,EAAE;IACR,QAAQ,CAAC,aAAa,CAAC,EAAE,kDAAkD,CAAC;IAC5E,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;CACzB,GACA,OAAO,CAAC,OAAO,CAAC,CA+ClB;AAMD,wBAAsB,gCAAgC,CACpD,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE;IACR,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,aAAa,CAAC,EAAE,kDAAkD,CAAC;CAC7E,GACA,OAAO,CAAC,SAAS,WAAW,EAAE,CAAC,CA6BjC;AA6JD;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,KAAK,CAKhE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChecksummedAddress, UintNumber } from '../types/primitives.js';
|
|
1
|
+
import type { BytesHex, ChecksummedAddress, UintNumber } from '../types/primitives.js';
|
|
2
2
|
import type { ZkProof } from '../types/zkProof-p.js';
|
|
3
3
|
import type { ZkProofBuilder } from '../types/zkProofBuilder.js';
|
|
4
4
|
import type { WithEncrypt } from '../types/coreFhevmRuntime.js';
|
|
@@ -15,6 +15,7 @@ export declare function createZkProof(context: Context, parameters: {
|
|
|
15
15
|
readonly values: readonly TypedValue[];
|
|
16
16
|
readonly contractAddress: ChecksummedAddress;
|
|
17
17
|
readonly userAddress: ChecksummedAddress;
|
|
18
|
+
readonly extraData: BytesHex;
|
|
18
19
|
}): Promise<ZkProof>;
|
|
19
20
|
export {};
|
|
20
21
|
//# sourceMappingURL=ZkProofBuilder-p.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZkProofBuilder-p.d.ts","sourceRoot":"","sources":["../../../core/coprocessor/ZkProofBuilder-p.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,kBAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ZkProofBuilder-p.d.ts","sourceRoot":"","sources":["../../../core/coprocessor/ZkProofBuilder-p.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,QAAQ,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EACV,UAAU,EASX,MAAM,wBAAwB,CAAC;AAahC,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;CAC/B,CAAC;AAQF,eAAO,MAAM,sBAAsB,EAAW,UAAU,CAAC;AACzD,eAAO,MAAM,gCAAgC,EAAU,UAAU,CAAC;AAgOlE,wBAAgB,oBAAoB,IAAI,cAAc,CAKrD;AAID,wBAAsB,aAAa,CACjC,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE;IACV,QAAQ,CAAC,MAAM,EAAE,SAAS,UAAU,EAAE,CAAC;IACvC,QAAQ,CAAC,eAAe,EAAE,kBAAkB,CAAC;IAC7C,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC;CAC9B,GACA,OAAO,CAAC,OAAO,CAAC,CAmBlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encrypt.d.ts","sourceRoot":"","sources":["../../../core/coprocessor/encrypt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"encrypt.d.ts","sourceRoot":"","sources":["../../../core/coprocessor/encrypt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAMhE,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;KAAE,CAAC;CACvD,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,eAAe,EAAE,kBAAkB,CAAC;IAC7C,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC;IACzC,QAAQ,CAAC,MAAM,EAAE,SAAS,UAAU,EAAE,CAAC;IACvC,QAAQ,CAAC,OAAO,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,YAAY,EAAE,SAAS,WAAW,EAAE,CAAC;IAC9C,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC;CAC/B,CAAC;AAIF,wBAAsB,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAc3F"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { RelayerInputProofOptions } from '../types/relayer.js';
|
|
2
2
|
import type { FhevmChain } from '../types/fhevmChain.js';
|
|
3
3
|
import type { VerifiedInputProof } from '../types/inputProof.js';
|
|
4
|
-
import type { BytesHex } from '../types/primitives.js';
|
|
5
4
|
import type { ZkProof } from '../types/zkProof-p.js';
|
|
6
5
|
import type { FhevmRuntime } from '../types/coreFhevmRuntime.js';
|
|
7
6
|
type Context = {
|
|
@@ -14,7 +13,6 @@ type Context = {
|
|
|
14
13
|
};
|
|
15
14
|
type Parameters = {
|
|
16
15
|
readonly zkProof: ZkProof;
|
|
17
|
-
readonly extraData: BytesHex;
|
|
18
16
|
readonly options?: RelayerInputProofOptions | undefined;
|
|
19
17
|
};
|
|
20
18
|
type ReturnType = VerifiedInputProof;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchVerifiedInputProof.d.ts","sourceRoot":"","sources":["../../../core/coprocessor/fetchVerifiedInputProof.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"fetchVerifiedInputProof.d.ts","sourceRoot":"","sources":["../../../core/coprocessor/fetchVerifiedInputProof.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAUjE,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;KAAE,CAAC;CACvD,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,KAAK,UAAU,GAAG,kBAAkB,CAAC;AAIrC,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CA+C3G"}
|
|
@@ -132,6 +132,7 @@ export declare function encryptionBitsFromFheTypeId(typeId: FheTypeId): Encrypti
|
|
|
132
132
|
* @example encryptionBitsFromFheTypeName('eaddress') // 160
|
|
133
133
|
*/
|
|
134
134
|
export declare function encryptionBitsFromFheType(name: FheType): EncryptionBits;
|
|
135
|
+
export declare function bigintToClearValueType<etype extends FheType>(fheType: etype, bn: bigint): ClearValueType<etype>;
|
|
135
136
|
export declare function bytesToClearValueType<etype extends FheType>(fheType: etype, bytes: Bytes): ClearValueType<etype>;
|
|
136
137
|
/**
|
|
137
138
|
* Asserts that `value` is already the correct JS type for the given `fheTypeName`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FheType.d.ts","sourceRoot":"","sources":["../../../core/handle/FheType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EAGd,OAAO,EACP,SAAS,EAIT,yBAAyB,EAE1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAEV,KAAK,EAON,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AA0H5D;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK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}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { FhevmRuntime } from '../types/coreFhevmRuntime.js';
|
|
2
|
+
import type { Handle } from '../types/encryptedTypes-p.js';
|
|
3
|
+
import type { ChecksummedAddress } from '../types/primitives.js';
|
|
4
|
+
type Context = {
|
|
5
|
+
readonly runtime: FhevmRuntime;
|
|
6
|
+
readonly client: NonNullable<object>;
|
|
7
|
+
readonly options: {
|
|
8
|
+
readonly batchRpcCalls: boolean;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
type Parameters = {
|
|
12
|
+
readonly address: ChecksummedAddress;
|
|
13
|
+
readonly delegator: ChecksummedAddress;
|
|
14
|
+
readonly delegate: ChecksummedAddress;
|
|
15
|
+
readonly handleContractPairs: ReadonlyArray<{
|
|
16
|
+
readonly handle: Handle;
|
|
17
|
+
readonly contractAddress: ChecksummedAddress;
|
|
18
|
+
}>;
|
|
19
|
+
};
|
|
20
|
+
export declare function checkDelegation(context: Context, parameters: Parameters): Promise<void>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=checkDelegation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkDelegation.d.ts","sourceRoot":"","sources":["../../../core/host-contracts/checkDelegation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAOjE,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;KAAE,CAAC;CACvD,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,mBAAmB,EAAE,aAAa,CAAC;QAC1C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,eAAe,EAAE,kBAAkB,CAAC;KAC9C,CAAC,CAAC;CACJ,CAAC;AAIF,wBAAsB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAsF7F"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FhevmRuntime } from '../types/coreFhevmRuntime.js';
|
|
2
|
+
import type { ChecksummedAddress, Uint64BigInt } from '../types/primitives.js';
|
|
3
|
+
type Context = {
|
|
4
|
+
readonly runtime: FhevmRuntime;
|
|
5
|
+
readonly client: NonNullable<object>;
|
|
6
|
+
readonly options: {
|
|
7
|
+
readonly batchRpcCalls: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
type Parameters = {
|
|
11
|
+
readonly address: ChecksummedAddress;
|
|
12
|
+
readonly delegator: ChecksummedAddress;
|
|
13
|
+
readonly delegate: ChecksummedAddress;
|
|
14
|
+
readonly contractAddress: ChecksummedAddress;
|
|
15
|
+
};
|
|
16
|
+
type ReturnType = Uint64BigInt;
|
|
17
|
+
export declare function getUserDecryptionDelegationExpirationDate(context: Context, parameters: Parameters): Promise<ReturnType>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=getUserDecryptionDelegationExpirationDate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserDecryptionDelegationExpirationDate.d.ts","sourceRoot":"","sources":["../../../core/host-contracts/getUserDecryptionDelegationExpirationDate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAO/E,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;KAAE,CAAC;CACvD,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,eAAe,EAAE,kBAAkB,CAAC;CAC9C,CAAC;AAEF,KAAK,UAAU,GAAG,YAAY,CAAC;AAI/B,wBAAsB,yCAAyC,CAC7D,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,UAAU,CAAC,CAgBrB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ChecksummedAddress } from '../types/primitives.js';
|
|
2
|
+
import type { FhevmRuntime } from '../types/coreFhevmRuntime.js';
|
|
3
|
+
import type { HandleContractPair } from '../types/other-p.js';
|
|
4
|
+
type Context = {
|
|
5
|
+
readonly runtime: FhevmRuntime;
|
|
6
|
+
readonly client: NonNullable<object>;
|
|
7
|
+
readonly options: {
|
|
8
|
+
readonly batchRpcCalls: boolean;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
type Parameters = {
|
|
12
|
+
readonly address: ChecksummedAddress;
|
|
13
|
+
readonly delegate: ChecksummedAddress;
|
|
14
|
+
readonly delegator: ChecksummedAddress;
|
|
15
|
+
readonly pairs: readonly HandleContractPair[];
|
|
16
|
+
};
|
|
17
|
+
type ReturnType = boolean[];
|
|
18
|
+
export declare function isHandleDelegatedForUserDecryption(context: Context, parameters: Parameters): Promise<ReturnType>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=isHandleDelegatedForUserDecryption-p.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isHandleDelegatedForUserDecryption-p.d.ts","sourceRoot":"","sources":["../../../core/host-contracts/isHandleDelegatedForUserDecryption-p.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAO9D,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;KAAE,CAAC;CACvD,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAC;CAC/C,CAAC;AAEF,KAAK,UAAU,GAAG,OAAO,EAAE,CAAC;AAI5B,wBAAsB,kCAAkC,CACtD,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,UAAU,CAAC,CAiBrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchKmsSignedcryptedShares-p.d.ts","sourceRoot":"","sources":["../../../core/kms/fetchKmsSignedcryptedShares-p.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YA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,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,KAAK,UAAU,GAAG,qBAAqB,CAAC;AAIxC,wBAAsB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAqEjG"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { FhevmRuntime } from '../../types/coreFhevmRuntime.js';
|
|
2
2
|
import type { DecryptAndReconstructParameters, DecryptAndReconstructReturnType, DeserializeTkmsPrivateKeyParameters, DeserializeTkmsPrivateKeyReturnType, GenerateTkmsPrivateKeyReturnType, GetTkmsPublicKeyHexParameters, GetTkmsPublicKeyHexReturnType, SerializeTkmsPrivateKeyParameters, SerializeTkmsPrivateKeyReturnType, VerifyTkmsPrivateKeyParameters, DecryptModuleFactory, UserDecryptModuleFactory } from './types.js';
|
|
3
|
-
export declare function decryptAndReconstruct(
|
|
4
|
-
export declare function generateTkmsPrivateKey(
|
|
5
|
-
export declare function getTkmsPublicKeyHex(
|
|
6
|
-
export declare function serializeTkmsPrivateKey(_runtime: FhevmRuntime,
|
|
7
|
-
export declare function deserializeTkmsPrivateKey(_runtime: FhevmRuntime,
|
|
3
|
+
export declare function decryptAndReconstruct(runtime: FhevmRuntime, parameters: DecryptAndReconstructParameters): Promise<DecryptAndReconstructReturnType>;
|
|
4
|
+
export declare function generateTkmsPrivateKey(runtime: FhevmRuntime): Promise<GenerateTkmsPrivateKeyReturnType>;
|
|
5
|
+
export declare function getTkmsPublicKeyHex(runtime: FhevmRuntime, parameters: GetTkmsPublicKeyHexParameters): Promise<GetTkmsPublicKeyHexReturnType>;
|
|
6
|
+
export declare function serializeTkmsPrivateKey(_runtime: FhevmRuntime, parameters: SerializeTkmsPrivateKeyParameters): Promise<SerializeTkmsPrivateKeyReturnType>;
|
|
7
|
+
export declare function deserializeTkmsPrivateKey(_runtime: FhevmRuntime, parameters: DeserializeTkmsPrivateKeyParameters): Promise<DeserializeTkmsPrivateKeyReturnType>;
|
|
8
8
|
export declare function verifyTkmsPrivateKey(_runtime: FhevmRuntime, _parameters: VerifyTkmsPrivateKeyParameters): void;
|
|
9
9
|
export declare const decryptModule: DecryptModuleFactory;
|
|
10
10
|
export declare const userDecryptModule: UserDecryptModuleFactory;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../core/modules/decrypt/mock.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../core/modules/decrypt/mock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAE/B,mCAAmC,EACnC,mCAAmC,EACnC,gCAAgC,EAChC,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAE9B,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,YAAY,CAAC;AAgCpB,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,YAAY,EACrB,UAAU,EAAE,+BAA+B,GAC1C,OAAO,CAAC,+BAA+B,CAAC,CA+E1C;AAMD,wBAAsB,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAI7G;AAMD,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,YAAY,EACrB,UAAU,EAAE,6BAA6B,GACxC,OAAO,CAAC,6BAA6B,CAAC,CAMxC;AAMD,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,YAAY,EACtB,UAAU,EAAE,iCAAiC,GAC5C,OAAO,CAAC,iCAAiC,CAAC,CAK5C;AAMD,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,YAAY,EACtB,UAAU,EAAE,mCAAmC,GAC9C,OAAO,CAAC,mCAAmC,CAAC,CAI9C;AAMD,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,8BAA8B,GAAG,IAAI,CAE9G;AAMD,eAAO,MAAM,aAAa,EAAE,oBAkB3B,CAAC;AAMF,eAAO,MAAM,iBAAiB,EAAE,wBA0B/B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BuildWithProofPackedReturnTypeParameters, BuildWithProofPackedReturnType, ParseTFHEProvenCompactCiphertextListParameters, ParseTFHEProvenCompactCiphertextListReturnType, SerializeFheEncryptionCrsParameters, SerializeFheEncryptionCrsReturnType, SerializeFheEncryptionKeyParameters, SerializeFheEncryptionKeyReturnType, SerializeFheEncryptionPublicKeyParameters, SerializeFheEncryptionPublicKeyReturnType, EncryptModuleFactory, DeserializeFheEncryptionPublicKeyParameters as DeserializeFheEncryptionPublicKeyParameters, DeserializeFheEncryptionPublicKeyReturnType as DeserializeFheEncryptionPublicKeyReturnType, DeserializeFheEncryptionCrsParameters, DeserializeFheEncryptionCrsReturnType } from './types.js';
|
|
2
2
|
export declare function parseTFHEProvenCompactCiphertextList(_parameters: ParseTFHEProvenCompactCiphertextListParameters): Promise<ParseTFHEProvenCompactCiphertextListReturnType>;
|
|
3
|
-
export declare function buildWithProofPacked(
|
|
4
|
-
export declare function serializeFheEncryptionKey(
|
|
5
|
-
export declare function serializeFheEncryptionPublicKey(
|
|
6
|
-
export declare function serializeFheEncryptionCrs(
|
|
7
|
-
export declare function deserializeFheEncryptionCrs(
|
|
8
|
-
export declare function deserializeFheEncryptionPublicKey(
|
|
3
|
+
export declare function buildWithProofPacked(parameters: BuildWithProofPackedReturnTypeParameters): Promise<BuildWithProofPackedReturnType>;
|
|
4
|
+
export declare function serializeFheEncryptionKey(parameters: SerializeFheEncryptionKeyParameters): Promise<SerializeFheEncryptionKeyReturnType>;
|
|
5
|
+
export declare function serializeFheEncryptionPublicKey(parameters: SerializeFheEncryptionPublicKeyParameters): Promise<SerializeFheEncryptionPublicKeyReturnType>;
|
|
6
|
+
export declare function serializeFheEncryptionCrs(parameters: SerializeFheEncryptionCrsParameters): Promise<SerializeFheEncryptionCrsReturnType>;
|
|
7
|
+
export declare function deserializeFheEncryptionCrs(parameters: DeserializeFheEncryptionCrsParameters): Promise<DeserializeFheEncryptionCrsReturnType>;
|
|
8
|
+
export declare function deserializeFheEncryptionPublicKey(parameters: DeserializeFheEncryptionPublicKeyParameters): Promise<DeserializeFheEncryptionPublicKeyReturnType>;
|
|
9
9
|
export declare const encryptModule: EncryptModuleFactory;
|
|
10
10
|
//# sourceMappingURL=mock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../core/modules/encrypt/mock.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../core/modules/encrypt/mock.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,wCAAwC,EACxC,8BAA8B,EAC9B,8CAA8C,EAC9C,8CAA8C,EAC9C,mCAAmC,EACnC,mCAAmC,EACnC,mCAAmC,EACnC,mCAAmC,EACnC,yCAAyC,EACzC,yCAAyC,EACzC,oBAAoB,EACpB,2CAA2C,IAAI,2CAA2C,EAC1F,2CAA2C,IAAI,2CAA2C,EAC1F,qCAAqC,EACrC,qCAAqC,EACtC,MAAM,YAAY,CAAC;AAmFpB,wBAAsB,oCAAoC,CACxD,WAAW,EAAE,8CAA8C,GAC1D,OAAO,CAAC,8CAA8C,CAAC,CAEzD;AAMD,wBAAsB,oBAAoB,CACxC,UAAU,EAAE,wCAAwC,GACnD,OAAO,CAAC,8BAA8B,CAAC,CA6BzC;AAMD,wBAAsB,yBAAyB,CAC7C,UAAU,EAAE,mCAAmC,GAC9C,OAAO,CAAC,mCAAmC,CAAC,CAiC9C;AAMD,wBAAsB,+BAA+B,CACnD,UAAU,EAAE,yCAAyC,GACpD,OAAO,CAAC,yCAAyC,CAAC,CAkBpD;AAMD,wBAAsB,yBAAyB,CAC7C,UAAU,EAAE,mCAAmC,GAC9C,OAAO,CAAC,mCAAmC,CAAC,CAmB9C;AAMD,wBAAsB,2BAA2B,CAC/C,UAAU,EAAE,qCAAqC,GAChD,OAAO,CAAC,qCAAqC,CAAC,CAShD;AAMD,wBAAsB,iCAAiC,CACrD,UAAU,EAAE,2CAA2C,GACtD,OAAO,CAAC,2CAA2C,CAAC,CAQtD;AAMD,eAAO,MAAM,aAAa,EAAE,oBAgB3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-p.d.ts","sourceRoot":"","sources":["../../../../../core/modules/encrypt/module/api-p.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wCAAwC,EACxC,8BAA8B,EAC9B,8CAA8C,EAC9C,8CAA8C,EAC9C,mCAAmC,IAAI,mCAAmC,EAC1E,mCAAmC,IAAI,mCAAmC,EAC1E,mCAAmC,IAAI,mCAAmC,EAC1E,mCAAmC,IAAI,mCAAmC,EAC1E,yCAAyC,IAAI,yCAAyC,EACtF,yCAAyC,IAAI,yCAAyC,EACtF,qCAAqC,IAAI,qCAAqC,EAC9E,qCAAqC,IAAI,qCAAqC,EAC9E,2CAA2C,EAC3C,2CAA2C,EAC5C,MAAM,aAAa,CAAC;AAarB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"api-p.d.ts","sourceRoot":"","sources":["../../../../../core/modules/encrypt/module/api-p.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wCAAwC,EACxC,8BAA8B,EAC9B,8CAA8C,EAC9C,8CAA8C,EAC9C,mCAAmC,IAAI,mCAAmC,EAC1E,mCAAmC,IAAI,mCAAmC,EAC1E,mCAAmC,IAAI,mCAAmC,EAC1E,mCAAmC,IAAI,mCAAmC,EAC1E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+
import type { BytesHex, TypedValue } from '../../types/primitives.js';
|
|
2
2
|
import type { EncryptionBits, FheTypeId } from '../../types/fheType.js';
|
|
3
3
|
import type { FheEncryptionCrs, FheEncryptionCrsBytes, FheEncryptionKeyWasm, FheEncryptionKeyBytes, FheEncryptionPublicKey, FheEncryptionPublicKeyBytes } from '../../types/fheEncryptionKey.js';
|
|
4
4
|
import type { Prettify } from '../../types/utils.js';
|
|
@@ -55,8 +55,12 @@ export type BuildWithProofPackedReturnTypeParameters = {
|
|
|
55
55
|
readonly fheEncryptionKey: FheEncryptionKeyWasm;
|
|
56
56
|
readonly typedValues: TypedValue[];
|
|
57
57
|
readonly metaData: Uint8Array;
|
|
58
|
+
readonly extraData: BytesHex;
|
|
59
|
+
};
|
|
60
|
+
export type BuildWithProofPackedReturnType = {
|
|
61
|
+
readonly ciphertextWithZKProofBytes: Uint8Array;
|
|
62
|
+
readonly extraData: BytesHex;
|
|
58
63
|
};
|
|
59
|
-
export type BuildWithProofPackedReturnType = Uint8Array;
|
|
60
64
|
export type BuildWithProofPackedModuleFunction = {
|
|
61
65
|
buildWithProofPacked(parameters: BuildWithProofPackedReturnTypeParameters): Promise<BuildWithProofPackedReturnType>;
|
|
62
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../core/modules/encrypt/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../core/modules/encrypt/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,EACV,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,sBA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M,MAAM,2CAA2C,GAAG,sBAAsB,CAAC;AAEjF,MAAM,MAAM,+CAA+C,GAAG;IAC5D,iCAAiC,CAC/B,UAAU,EAAE,2CAA2C,GACtD,OAAO,CAAC,2CAA2C,CAAC,CAAC;CACzD,CAAC;AAMF,MAAM,MAAM,qCAAqC,GAAG;IAClD,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG,gBAAgB,CAAC;AAErE,MAAM,MAAM,yCAAyC,GAAG;IACtD,2BAA2B,CACzB,UAAU,EAAE,qCAAqC,GAChD,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACnD,CAAC;AAMF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,QAAQ,CAClC,sBAAsB,GACpB,yBAAyB,GACzB,kDAAkD,GAClD,kCAAkC,GAClC,uCAAuC,GACvC,6CAA6C,GAC7C,uCAAuC,GACvC,+CAA+C,GAC/C,yCAAyC,CAC5C,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,EAAE,YAAY,KAAK;IAC5D,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Bytes65Hex, BytesHex, ChecksummedAddress } from '../../types/primitives.js';
|
|
2
|
+
import type { Prettify } from '../../types/utils.js';
|
|
3
|
+
import type { EthereumModule } from './types.js';
|
|
4
|
+
export type MnemonicToAccountParameters = Readonly<{
|
|
5
|
+
mnemonic: string;
|
|
6
|
+
path: `m/44'/60'/${string}`;
|
|
7
|
+
}>;
|
|
8
|
+
export type MnemonicToAccountReturnType = {
|
|
9
|
+
readonly privateKey: BytesHex;
|
|
10
|
+
readonly address: ChecksummedAddress;
|
|
11
|
+
};
|
|
12
|
+
export type MnemonicToAccountModuleFunction = {
|
|
13
|
+
mnemonicToAccount(parameters: MnemonicToAccountParameters): MnemonicToAccountReturnType;
|
|
14
|
+
};
|
|
15
|
+
export type SignParameters = Readonly<{
|
|
16
|
+
hash: BytesHex;
|
|
17
|
+
privateKey: BytesHex;
|
|
18
|
+
}>;
|
|
19
|
+
export type SignReturnType = Bytes65Hex;
|
|
20
|
+
export type SignModuleFunction = {
|
|
21
|
+
sign(parameters: SignParameters): Promise<SignReturnType>;
|
|
22
|
+
};
|
|
23
|
+
export type GeneratePrivateKeyReturnType = BytesHex;
|
|
24
|
+
export type GeneratePrivateKeyModuleFunction = {
|
|
25
|
+
generatePrivateKey(): GeneratePrivateKeyReturnType;
|
|
26
|
+
};
|
|
27
|
+
export type GetPublicKeyParameters = Readonly<{
|
|
28
|
+
privateKey: BytesHex;
|
|
29
|
+
}>;
|
|
30
|
+
export type GetPublicKeyReturnType = BytesHex;
|
|
31
|
+
export type GetPublicKeyModuleFunction = {
|
|
32
|
+
getPublicKey(parameters: GetPublicKeyParameters): GetPublicKeyReturnType;
|
|
33
|
+
};
|
|
34
|
+
export type RecoverAddressParameters = Readonly<{
|
|
35
|
+
hash: BytesHex;
|
|
36
|
+
signature: Bytes65Hex;
|
|
37
|
+
}>;
|
|
38
|
+
export type RecoverAddressReturnType = ChecksummedAddress;
|
|
39
|
+
export type RecoverAddressModuleFunction = {
|
|
40
|
+
recoverAddress(parameters: RecoverAddressParameters): Promise<RecoverAddressReturnType>;
|
|
41
|
+
};
|
|
42
|
+
export type CleartextEthereumModule = EthereumModule & Prettify<MnemonicToAccountModuleFunction & SignModuleFunction & GeneratePrivateKeyModuleFunction & GetPublicKeyModuleFunction & RecoverAddressModuleFunction>;
|
|
43
|
+
export type CleartextEthereumModuleFactory = () => {
|
|
44
|
+
readonly ethereum: CleartextEthereumModule;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=types-ct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-ct.d.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YAAY,CAAC,UAAU,EAAE,sBAAsB,GAAG,sBAAsB,CAAC;CAC1E,CAAC;AAMF,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC9C,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,UAAU,CAAC;CACvB,CAAC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE1D,MAAM,MAAM,4BAA4B,GAAG;IACzC,cAAc,CAAC,UAAU,EAAE,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACzF,CAAC;AAMF,MAAM,MAAM,uBAAuB,GAAG,cAAc,GAClD,QAAQ,CACN,+BAA+B,GAC7B,kBAAkB,GAClB,gCAAgC,GAChC,0BAA0B,GAC1B,4BAA4B,CAC/B,CAAC;AAEJ,MAAM,MAAM,8BAA8B,GAAG,MAAM;IACjD,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,CAAC;CAC5C,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FetchCoprocessorSignaturesParameters, FetchCoprocessorSignaturesReturnType, RelayerClientWithRuntime } from '../types.js';
|
|
2
|
+
export declare function fetchCoprocessorSignatures(relayerClient: RelayerClientWithRuntime, parameters: FetchCoprocessorSignaturesParameters): Promise<FetchCoprocessorSignaturesReturnType>;
|
|
3
|
+
//# sourceMappingURL=fetchCoprocessorSignatures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchCoprocessorSignatures.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/cleartext/fetchCoprocessorSignatures.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oCAAoC,EACpC,oCAAoC,EACpC,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAwCrB,wBAAsB,0BAA0B,CAC9C,aAAa,EAAE,wBAAwB,EACvC,UAAU,EAAE,oCAAoC,GAC/C,OAAO,CAAC,oCAAoC,CAAC,CA4C/C"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FetchDelegatedUserDecryptParameters, FetchUserDecryptReturnType, RelayerClientWithRuntime } from '../types.js';
|
|
2
|
+
export declare function fetchDelegatedUserDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchDelegatedUserDecryptParameters): Promise<FetchUserDecryptReturnType>;
|
|
3
|
+
//# sourceMappingURL=fetchDelegatedUserDecrypt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchDelegatedUserDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/cleartext/fetchDelegatedUserDecrypt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,mCAAmC,EACnC,0BAA0B,EAC1B,wBAAwB,EACzB,MAAM,aAAa,CAAC;AA2DrB,wBAAsB,yBAAyB,CAC7C,aAAa,EAAE,wBAAwB,EACvC,UAAU,EAAE,mCAAmC,GAC9C,OAAO,CAAC,0BAA0B,CAAC,CAmErC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FetchPublicDecryptParameters, FetchPublicDecryptReturnType, RelayerClientWithRuntime } from '../types.js';
|
|
2
|
+
export declare function fetchPublicDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchPublicDecryptParameters): Promise<FetchPublicDecryptReturnType>;
|
|
3
|
+
//# sourceMappingURL=fetchPublicDecrypt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchPublicDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/cleartext/fetchPublicDecrypt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AA4BxH,wBAAsB,kBAAkB,CACtC,aAAa,EAAE,wBAAwB,EACvC,UAAU,EAAE,4BAA4B,GACvC,OAAO,CAAC,4BAA4B,CAAC,CAiCvC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FetchUserDecryptParameters, FetchUserDecryptReturnType, RelayerClientWithRuntime } from '../types.js';
|
|
2
|
+
export declare function fetchUserDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchUserDecryptParameters): Promise<FetchUserDecryptReturnType>;
|
|
3
|
+
//# sourceMappingURL=fetchUserDecrypt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchUserDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/cleartext/fetchUserDecrypt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AA0DpH,wBAAsB,gBAAgB,CACpC,aAAa,EAAE,wBAAwB,EACvC,UAAU,EAAE,0BAA0B,GACrC,OAAO,CAAC,0BAA0B,CAAC,CAkErC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/cleartext/mock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAKV,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAWrB,eAAO,MAAM,aAAa,EAAE,oBAmC3B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BytesHex, ChecksummedAddress } from '../../../types/primitives.js';
|
|
2
|
+
import type { RelayerClientWithRuntime } from '../types.js';
|
|
3
|
+
type PrivateKeyMap = Map<ChecksummedAddress, BytesHex>;
|
|
4
|
+
export declare function getCoprocessorSignersPrivateKeyMap(relayerClient: RelayerClientWithRuntime): PrivateKeyMap;
|
|
5
|
+
export declare function getKmsSignersPrivateKeyMap(relayerClient: RelayerClientWithRuntime): PrivateKeyMap;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=signers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signers.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/cleartext/signers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAQ5D,KAAK,aAAa,GAAG,GAAG,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC;AASvD,wBAAgB,kCAAkC,CAAC,aAAa,EAAE,wBAAwB,GAAG,aAAa,CAKzG;AAID,wBAAgB,0BAA0B,CAAC,aAAa,EAAE,wBAAwB,GAAG,aAAa,CAKjG"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FetchCoprocessorSignaturesParameters, FetchCoprocessorSignaturesReturnType,
|
|
2
|
-
export declare function fetchCoprocessorSignatures(relayerClient:
|
|
1
|
+
import type { FetchCoprocessorSignaturesParameters, FetchCoprocessorSignaturesReturnType, RelayerClientWithRuntime } from '../types.js';
|
|
2
|
+
export declare function fetchCoprocessorSignatures(relayerClient: RelayerClientWithRuntime, parameters: FetchCoprocessorSignaturesParameters): Promise<FetchCoprocessorSignaturesReturnType>;
|
|
3
3
|
//# sourceMappingURL=fetchCoprocessorSignatures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchCoprocessorSignatures.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/module/fetchCoprocessorSignatures.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oCAAoC,EACpC,oCAAoC,EACpC,
|
|
1
|
+
{"version":3,"file":"fetchCoprocessorSignatures.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/module/fetchCoprocessorSignatures.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,oCAAoC,EACpC,oCAAoC,EACpC,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAUrB,wBAAsB,0BAA0B,CAC9C,aAAa,EAAE,wBAAwB,EACvC,UAAU,EAAE,oCAAoC,GAC/C,OAAO,CAAC,oCAAoC,CAAC,CAyB/C"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FetchDelegatedUserDecryptParameters, FetchDelegatedUserDecryptReturnType,
|
|
2
|
-
export declare function fetchDelegatedUserDecrypt(relayerClient:
|
|
1
|
+
import type { FetchDelegatedUserDecryptParameters, FetchDelegatedUserDecryptReturnType, RelayerClientWithRuntime } from '../types.js';
|
|
2
|
+
export declare function fetchDelegatedUserDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchDelegatedUserDecryptParameters): Promise<FetchDelegatedUserDecryptReturnType>;
|
|
3
3
|
//# sourceMappingURL=fetchDelegatedUserDecrypt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchDelegatedUserDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/module/fetchDelegatedUserDecrypt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,mCAAmC,EACnC,mCAAmC,EACnC,
|
|
1
|
+
{"version":3,"file":"fetchDelegatedUserDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/module/fetchDelegatedUserDecrypt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,mCAAmC,EACnC,mCAAmC,EACnC,wBAAwB,EACzB,MAAM,aAAa,CAAC;AASrB,wBAAsB,yBAAyB,CAC7C,aAAa,EAAE,wBAAwB,EACvC,UAAU,EAAE,mCAAmC,GAC9C,OAAO,CAAC,mCAAmC,CAAC,CAgD9C"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FetchPublicDecryptParameters, FetchPublicDecryptReturnType,
|
|
2
|
-
export declare function fetchPublicDecrypt(relayerClient:
|
|
1
|
+
import type { FetchPublicDecryptParameters, FetchPublicDecryptReturnType, RelayerClientWithRuntime } from '../types.js';
|
|
2
|
+
export declare function fetchPublicDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchPublicDecryptParameters): Promise<FetchPublicDecryptReturnType>;
|
|
3
3
|
//# sourceMappingURL=fetchPublicDecrypt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchPublicDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/module/fetchPublicDecrypt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,
|
|
1
|
+
{"version":3,"file":"fetchPublicDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/module/fetchPublicDecrypt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAQxH,wBAAsB,kBAAkB,CACtC,aAAa,EAAE,wBAAwB,EACvC,UAAU,EAAE,4BAA4B,GACvC,OAAO,CAAC,4BAA4B,CAAC,CAyBvC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FetchUserDecryptParameters, FetchUserDecryptReturnType,
|
|
2
|
-
export declare function fetchUserDecrypt(relayerClient:
|
|
1
|
+
import type { FetchUserDecryptParameters, FetchUserDecryptReturnType, RelayerClientWithRuntime } from '../types.js';
|
|
2
|
+
export declare function fetchUserDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchUserDecryptParameters): Promise<FetchUserDecryptReturnType>;
|
|
3
3
|
//# sourceMappingURL=fetchUserDecrypt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchUserDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/module/fetchUserDecrypt.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,
|
|
1
|
+
{"version":3,"file":"fetchUserDecrypt.d.ts","sourceRoot":"","sources":["../../../../../core/modules/relayer/module/fetchUserDecrypt.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAQpH,wBAAsB,gBAAgB,CACpC,aAAa,EAAE,wBAAwB,EACvC,UAAU,EAAE,0BAA0B,GACrC,OAAO,CAAC,0BAA0B,CAAC,CAiDrC"}
|
|
@@ -6,10 +6,20 @@ import type { Bytes65Hex, BytesHex, ChecksummedAddress } from '../../types/primi
|
|
|
6
6
|
import type { Prettify } from '../../types/utils.js';
|
|
7
7
|
import type { ZkProof } from '../../types/zkProof-p.js';
|
|
8
8
|
import type { Handle, InputHandle } from '../../types/encryptedTypes-p.js';
|
|
9
|
+
import type { FhevmChain } from '../../types/fhevmChain.js';
|
|
10
|
+
import type { FhevmRuntime } from '../../types/coreFhevmRuntime.js';
|
|
9
11
|
export type RelayerClient = {
|
|
10
12
|
readonly relayerUrl: string;
|
|
11
13
|
readonly chainId: number;
|
|
12
14
|
};
|
|
15
|
+
export type RelayerClientWithRuntime = {
|
|
16
|
+
readonly chain: FhevmChain;
|
|
17
|
+
readonly runtime: FhevmRuntime;
|
|
18
|
+
readonly client: NonNullable<object>;
|
|
19
|
+
readonly options: {
|
|
20
|
+
readonly batchRpcCalls: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
13
23
|
export type FetchFheEncryptionKeySourceParameters = {
|
|
14
24
|
readonly options?: RelayerKeyUrlOptions | undefined;
|
|
15
25
|
};
|
|
@@ -27,7 +37,6 @@ export type FetchFheEncryptionKeyBytesModuleFunction = {
|
|
|
27
37
|
export type FetchCoprocessorSignaturesParameters = {
|
|
28
38
|
readonly payload: {
|
|
29
39
|
readonly zkProof: ZkProof;
|
|
30
|
-
readonly extraData: BytesHex;
|
|
31
40
|
};
|
|
32
41
|
readonly options?: RelayerInputProofOptions | undefined;
|
|
33
42
|
};
|
|
@@ -37,7 +46,7 @@ export type FetchCoprocessorSignaturesReturnType = {
|
|
|
37
46
|
readonly extraData: BytesHex;
|
|
38
47
|
};
|
|
39
48
|
export type FetchCoprocessorSignaturesModuleFunction = {
|
|
40
|
-
fetchCoprocessorSignatures(relayerClient:
|
|
49
|
+
fetchCoprocessorSignatures(relayerClient: RelayerClientWithRuntime, parameters: FetchCoprocessorSignaturesParameters): Promise<FetchCoprocessorSignaturesReturnType>;
|
|
41
50
|
};
|
|
42
51
|
export type FetchPublicDecryptParameters = {
|
|
43
52
|
readonly payload: {
|
|
@@ -52,7 +61,7 @@ export type FetchPublicDecryptReturnType = {
|
|
|
52
61
|
readonly extraData: BytesHex;
|
|
53
62
|
};
|
|
54
63
|
export type FetchPublicDecryptModuleFunction = {
|
|
55
|
-
fetchPublicDecrypt(relayerClient:
|
|
64
|
+
fetchPublicDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchPublicDecryptParameters): Promise<FetchPublicDecryptReturnType>;
|
|
56
65
|
};
|
|
57
66
|
export type FetchUserDecryptParameters = {
|
|
58
67
|
readonly payload: {
|
|
@@ -68,7 +77,7 @@ export type FetchUserDecryptParameters = {
|
|
|
68
77
|
};
|
|
69
78
|
export type FetchUserDecryptReturnType = readonly KmsSigncryptedShare[];
|
|
70
79
|
export type FetchUserDecryptModuleFunction = {
|
|
71
|
-
fetchUserDecrypt(relayerClient:
|
|
80
|
+
fetchUserDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchUserDecryptParameters): Promise<FetchUserDecryptReturnType>;
|
|
72
81
|
};
|
|
73
82
|
export type FetchDelegatedUserDecryptParameters = {
|
|
74
83
|
readonly payload: {
|
|
@@ -84,7 +93,7 @@ export type FetchDelegatedUserDecryptParameters = {
|
|
|
84
93
|
};
|
|
85
94
|
export type FetchDelegatedUserDecryptReturnType = readonly KmsSigncryptedShare[];
|
|
86
95
|
export type FetchDelegatedUserDecryptModuleFunction = {
|
|
87
|
-
fetchDelegatedUserDecrypt(relayerClient:
|
|
96
|
+
fetchDelegatedUserDecrypt(relayerClient: RelayerClientWithRuntime, parameters: FetchDelegatedUserDecryptParameters): Promise<FetchDelegatedUserDecryptReturnType>;
|
|
88
97
|
};
|
|
89
98
|
export type RelayerModule = Prettify<FetchFheEncryptionKeySourceModuleFunction & FetchFheEncryptionKeyBytesModuleFunction & FetchCoprocessorSignaturesModuleFunction & FetchUserDecryptModuleFunction & FetchPublicDecryptModuleFunction & FetchDelegatedUserDecryptModuleFunction>;
|
|
90
99
|
export type RelayerModuleFactory = () => {
|