ox 1.0.0-beta.2 → 1.0.0-beta.20
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/dist/core/Abi.d.ts +6 -2
- package/dist/core/Abi.d.ts.map +1 -1
- package/dist/core/Abi.js +6 -3
- package/dist/core/Abi.js.map +1 -1
- package/dist/core/AbiConstructor.d.ts +2 -1
- package/dist/core/AbiConstructor.d.ts.map +1 -1
- package/dist/core/AbiConstructor.js +2 -2
- package/dist/core/AbiConstructor.js.map +1 -1
- package/dist/core/AbiError.d.ts +3 -1
- package/dist/core/AbiError.d.ts.map +1 -1
- package/dist/core/AbiError.js +2 -2
- package/dist/core/AbiError.js.map +1 -1
- package/dist/core/AbiEvent.d.ts +3 -1
- package/dist/core/AbiEvent.d.ts.map +1 -1
- package/dist/core/AbiEvent.js +2 -2
- package/dist/core/AbiEvent.js.map +1 -1
- package/dist/core/AbiFunction.d.ts +3 -1
- package/dist/core/AbiFunction.d.ts.map +1 -1
- package/dist/core/AbiFunction.js +2 -2
- package/dist/core/AbiFunction.js.map +1 -1
- package/dist/core/AbiItem.d.ts +6 -3
- package/dist/core/AbiItem.d.ts.map +1 -1
- package/dist/core/AbiItem.js +9 -7
- package/dist/core/AbiItem.js.map +1 -1
- package/dist/core/AbiParameter.d.ts +88 -0
- package/dist/core/AbiParameter.d.ts.map +1 -0
- package/dist/core/AbiParameter.js +82 -0
- package/dist/core/AbiParameter.js.map +1 -0
- package/dist/core/AbiParameters.d.ts +58 -2
- package/dist/core/AbiParameters.d.ts.map +1 -1
- package/dist/core/AbiParameters.js +60 -6
- package/dist/core/AbiParameters.js.map +1 -1
- package/dist/core/AccountProof.d.ts +3 -1
- package/dist/core/AccountProof.d.ts.map +1 -1
- package/dist/core/AccountProof.js +3 -4
- package/dist/core/AccountProof.js.map +1 -1
- package/dist/core/Authorization.d.ts +6 -2
- package/dist/core/Authorization.d.ts.map +1 -1
- package/dist/core/Authorization.js +3 -2
- package/dist/core/Authorization.js.map +1 -1
- package/dist/core/Block.d.ts +3 -1
- package/dist/core/Block.d.ts.map +1 -1
- package/dist/core/Block.js +12 -13
- package/dist/core/Block.js.map +1 -1
- package/dist/core/BlockOverrides.d.ts +5 -1
- package/dist/core/BlockOverrides.d.ts.map +1 -1
- package/dist/core/BlockOverrides.js +12 -12
- package/dist/core/BlockOverrides.js.map +1 -1
- package/dist/core/Filter.d.ts +3 -1
- package/dist/core/Filter.d.ts.map +1 -1
- package/dist/core/Filter.js +4 -4
- package/dist/core/Filter.js.map +1 -1
- package/dist/core/Log.d.ts +4 -2
- package/dist/core/Log.d.ts.map +1 -1
- package/dist/core/Log.js +4 -4
- package/dist/core/Log.js.map +1 -1
- package/dist/core/Rlp.d.ts +27 -5
- package/dist/core/Rlp.d.ts.map +1 -1
- package/dist/core/Rlp.js +40 -4
- package/dist/core/Rlp.js.map +1 -1
- package/dist/core/RpcSchema.d.ts +2 -2
- package/dist/core/Signature.d.ts +3 -1
- package/dist/core/Signature.d.ts.map +1 -1
- package/dist/core/Signature.js +2 -1
- package/dist/core/Signature.js.map +1 -1
- package/dist/core/StateOverrides.d.ts +5 -1
- package/dist/core/StateOverrides.d.ts.map +1 -1
- package/dist/core/StateOverrides.js +4 -4
- package/dist/core/StateOverrides.js.map +1 -1
- package/dist/core/Transaction.d.ts +3 -1
- package/dist/core/Transaction.d.ts.map +1 -1
- package/dist/core/Transaction.js +26 -26
- package/dist/core/Transaction.js.map +1 -1
- package/dist/core/TransactionReceipt.d.ts +3 -1
- package/dist/core/TransactionReceipt.d.ts.map +1 -1
- package/dist/core/TransactionReceipt.js +8 -8
- package/dist/core/TransactionReceipt.js.map +1 -1
- package/dist/core/TransactionRequest.d.ts +3 -1
- package/dist/core/TransactionRequest.d.ts.map +1 -1
- package/dist/core/TransactionRequest.js +11 -10
- package/dist/core/TransactionRequest.js.map +1 -1
- package/dist/core/TxEnvelope.d.ts +3 -1
- package/dist/core/TxEnvelope.d.ts.map +1 -1
- package/dist/core/TxEnvelope.js.map +1 -1
- package/dist/core/TxEnvelopeEip1559.d.ts +3 -1
- package/dist/core/TxEnvelopeEip1559.d.ts.map +1 -1
- package/dist/core/TxEnvelopeEip1559.js +12 -11
- package/dist/core/TxEnvelopeEip1559.js.map +1 -1
- package/dist/core/TxEnvelopeEip2930.d.ts +3 -1
- package/dist/core/TxEnvelopeEip2930.d.ts.map +1 -1
- package/dist/core/TxEnvelopeEip2930.js +10 -9
- package/dist/core/TxEnvelopeEip2930.js.map +1 -1
- package/dist/core/TxEnvelopeEip4844.d.ts +3 -1
- package/dist/core/TxEnvelopeEip4844.d.ts.map +1 -1
- package/dist/core/TxEnvelopeEip4844.js +16 -13
- package/dist/core/TxEnvelopeEip4844.js.map +1 -1
- package/dist/core/TxEnvelopeEip7702.d.ts +3 -1
- package/dist/core/TxEnvelopeEip7702.d.ts.map +1 -1
- package/dist/core/TxEnvelopeEip7702.js +12 -11
- package/dist/core/TxEnvelopeEip7702.js.map +1 -1
- package/dist/core/TxEnvelopeLegacy.d.ts +7 -1
- package/dist/core/TxEnvelopeLegacy.d.ts.map +1 -1
- package/dist/core/TxEnvelopeLegacy.js +9 -8
- package/dist/core/TxEnvelopeLegacy.js.map +1 -1
- package/dist/core/Withdrawal.d.ts +4 -2
- package/dist/core/Withdrawal.d.ts.map +1 -1
- package/dist/core/Withdrawal.js +4 -4
- package/dist/core/Withdrawal.js.map +1 -1
- package/dist/core/internal/abiParameters.d.ts.map +1 -1
- package/dist/core/internal/abiParameters.js +21 -3
- package/dist/core/internal/abiParameters.js.map +1 -1
- package/dist/core/internal/human-readable/errors.d.ts +103 -0
- package/dist/core/internal/human-readable/errors.d.ts.map +1 -0
- package/dist/core/internal/human-readable/errors.js +142 -0
- package/dist/core/internal/human-readable/errors.js.map +1 -0
- package/dist/core/internal/human-readable/formatAbi.d.ts +19 -0
- package/dist/core/internal/human-readable/formatAbi.d.ts.map +1 -0
- package/dist/core/internal/human-readable/formatAbi.js +18 -0
- package/dist/core/internal/human-readable/formatAbi.js.map +1 -0
- package/dist/core/internal/human-readable/formatAbiItem.d.ts +23 -0
- package/dist/core/internal/human-readable/formatAbiItem.d.ts.map +1 -0
- package/dist/core/internal/human-readable/formatAbiItem.js +25 -0
- package/dist/core/internal/human-readable/formatAbiItem.js.map +1 -0
- package/dist/core/internal/human-readable/formatAbiParameter.d.ts +41 -0
- package/dist/core/internal/human-readable/formatAbiParameter.d.ts.map +1 -0
- package/dist/core/internal/human-readable/formatAbiParameter.js +36 -0
- package/dist/core/internal/human-readable/formatAbiParameter.js.map +1 -0
- package/dist/core/internal/human-readable/formatAbiParameters.d.ts +26 -0
- package/dist/core/internal/human-readable/formatAbiParameters.d.ts.map +1 -0
- package/dist/core/internal/human-readable/formatAbiParameters.js +19 -0
- package/dist/core/internal/human-readable/formatAbiParameters.js.map +1 -0
- package/dist/core/internal/human-readable/parseAbi.d.ts +22 -0
- package/dist/core/internal/human-readable/parseAbi.d.ts.map +1 -0
- package/dist/core/internal/human-readable/parseAbi.js +22 -0
- package/dist/core/internal/human-readable/parseAbi.js.map +1 -0
- package/dist/core/internal/human-readable/parseAbiItem.d.ts +23 -0
- package/dist/core/internal/human-readable/parseAbiItem.d.ts.map +1 -0
- package/dist/core/internal/human-readable/parseAbiItem.js +30 -0
- package/dist/core/internal/human-readable/parseAbiItem.js.map +1 -0
- package/dist/core/internal/human-readable/parseAbiParameter.d.ts +28 -0
- package/dist/core/internal/human-readable/parseAbiParameter.d.ts.map +1 -0
- package/dist/core/internal/human-readable/parseAbiParameter.js +32 -0
- package/dist/core/internal/human-readable/parseAbiParameter.js.map +1 -0
- package/dist/core/internal/human-readable/parseAbiParameters.d.ts +38 -0
- package/dist/core/internal/human-readable/parseAbiParameters.d.ts.map +1 -0
- package/dist/core/internal/human-readable/parseAbiParameters.js +39 -0
- package/dist/core/internal/human-readable/parseAbiParameters.js.map +1 -0
- package/dist/core/internal/human-readable/regex.d.ts +9 -0
- package/dist/core/internal/human-readable/regex.d.ts.map +1 -0
- package/dist/core/internal/human-readable/regex.js +12 -0
- package/dist/core/internal/human-readable/regex.js.map +1 -0
- package/dist/core/internal/human-readable/runtime/cache.d.ts +22 -0
- package/dist/core/internal/human-readable/runtime/cache.d.ts.map +1 -0
- package/dist/core/internal/human-readable/runtime/cache.js +86 -0
- package/dist/core/internal/human-readable/runtime/cache.js.map +1 -0
- package/dist/core/internal/human-readable/runtime/signatures.d.ts +39 -0
- package/dist/core/internal/human-readable/runtime/signatures.d.ts.map +1 -0
- package/dist/core/internal/human-readable/runtime/signatures.js +67 -0
- package/dist/core/internal/human-readable/runtime/signatures.js.map +1 -0
- package/dist/core/internal/human-readable/runtime/structs.d.ts +3 -0
- package/dist/core/internal/human-readable/runtime/structs.d.ts.map +1 -0
- package/dist/core/internal/human-readable/runtime/structs.js +79 -0
- package/dist/core/internal/human-readable/runtime/structs.js.map +1 -0
- package/dist/core/internal/human-readable/runtime/utils.d.ts +205 -0
- package/dist/core/internal/human-readable/runtime/utils.d.ts.map +1 -0
- package/dist/core/internal/human-readable/runtime/utils.js +232 -0
- package/dist/core/internal/human-readable/runtime/utils.js.map +1 -0
- package/dist/core/internal/human-readable/types/signatures.d.ts +38 -0
- package/dist/core/internal/human-readable/types/signatures.d.ts.map +1 -0
- package/dist/core/internal/human-readable/types/signatures.js +2 -0
- package/dist/core/internal/human-readable/types/signatures.js.map +1 -0
- package/dist/core/internal/human-readable/types/structs.d.ts +48 -0
- package/dist/core/internal/human-readable/types/structs.d.ts.map +1 -0
- package/dist/core/internal/human-readable/types/structs.js +2 -0
- package/dist/core/internal/human-readable/types/structs.js.map +1 -0
- package/dist/core/internal/human-readable/types/utils.d.ts +163 -0
- package/dist/core/internal/human-readable/types/utils.d.ts.map +1 -0
- package/dist/core/internal/human-readable/types/utils.js +2 -0
- package/dist/core/internal/human-readable/types/utils.js.map +1 -0
- package/dist/core/internal/human-readable/types.d.ts +29 -0
- package/dist/core/internal/human-readable/types.d.ts.map +1 -0
- package/dist/core/internal/human-readable/types.js +2 -0
- package/dist/core/internal/human-readable/types.js.map +1 -0
- package/dist/core/internal/quantity.d.ts +15 -0
- package/dist/core/internal/quantity.d.ts.map +1 -1
- package/dist/core/internal/quantity.js +23 -0
- package/dist/core/internal/quantity.js.map +1 -1
- package/dist/core/internal/rpcSchemas/eth.d.ts +56 -10
- package/dist/core/internal/rpcSchemas/eth.d.ts.map +1 -1
- package/dist/erc4337/UserOperation.d.ts +3 -1
- package/dist/erc4337/UserOperation.d.ts.map +1 -1
- package/dist/erc4337/UserOperation.js +11 -10
- package/dist/erc4337/UserOperation.js.map +1 -1
- package/dist/erc4337/UserOperationGas.d.ts +5 -1
- package/dist/erc4337/UserOperationGas.d.ts.map +1 -1
- package/dist/erc4337/UserOperationGas.js +8 -8
- package/dist/erc4337/UserOperationGas.js.map +1 -1
- package/dist/erc4337/UserOperationReceipt.d.ts +5 -1
- package/dist/erc4337/UserOperationReceipt.d.ts.map +1 -1
- package/dist/erc4337/UserOperationReceipt.js +4 -4
- package/dist/erc4337/UserOperationReceipt.js.map +1 -1
- package/dist/index.d.ts +37 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -1
- package/dist/tempo/AuthorizationTempo.d.ts +6 -2
- package/dist/tempo/AuthorizationTempo.d.ts.map +1 -1
- package/dist/tempo/AuthorizationTempo.js +3 -2
- package/dist/tempo/AuthorizationTempo.js.map +1 -1
- package/dist/tempo/Channel.d.ts +8 -14
- package/dist/tempo/Channel.d.ts.map +1 -1
- package/dist/tempo/Channel.js +4 -8
- package/dist/tempo/Channel.js.map +1 -1
- package/dist/tempo/KeyAuthorization.d.ts +8 -6
- package/dist/tempo/KeyAuthorization.d.ts.map +1 -1
- package/dist/tempo/KeyAuthorization.js +10 -8
- package/dist/tempo/KeyAuthorization.js.map +1 -1
- package/dist/tempo/MultisigConfig.d.ts +37 -85
- package/dist/tempo/MultisigConfig.d.ts.map +1 -1
- package/dist/tempo/MultisigConfig.js +39 -83
- package/dist/tempo/MultisigConfig.js.map +1 -1
- package/dist/tempo/PoolId.d.ts +8 -7
- package/dist/tempo/PoolId.d.ts.map +1 -1
- package/dist/tempo/PoolId.js +10 -6
- package/dist/tempo/PoolId.js.map +1 -1
- package/dist/tempo/RpcSchemaTempo.d.ts +1 -1
- package/dist/tempo/RpcSchemaTempo.d.ts.map +1 -1
- package/dist/tempo/SignatureEnvelope.d.ts +35 -31
- package/dist/tempo/SignatureEnvelope.d.ts.map +1 -1
- package/dist/tempo/SignatureEnvelope.js +56 -51
- package/dist/tempo/SignatureEnvelope.js.map +1 -1
- package/dist/tempo/Transaction.d.ts +19 -6
- package/dist/tempo/Transaction.d.ts.map +1 -1
- package/dist/tempo/Transaction.js +41 -13
- package/dist/tempo/Transaction.js.map +1 -1
- package/dist/tempo/TransactionReceipt.d.ts +3 -1
- package/dist/tempo/TransactionReceipt.d.ts.map +1 -1
- package/dist/tempo/TransactionReceipt.js.map +1 -1
- package/dist/tempo/TransactionRequest.d.ts +18 -3
- package/dist/tempo/TransactionRequest.d.ts.map +1 -1
- package/dist/tempo/TransactionRequest.js +72 -35
- package/dist/tempo/TransactionRequest.js.map +1 -1
- package/dist/tempo/TxEnvelopeTempo.d.ts +2 -3
- package/dist/tempo/TxEnvelopeTempo.d.ts.map +1 -1
- package/dist/tempo/TxEnvelopeTempo.js +5 -6
- package/dist/tempo/TxEnvelopeTempo.js.map +1 -1
- package/dist/tempo/index.d.ts +6 -26
- package/dist/tempo/index.d.ts.map +1 -1
- package/dist/tempo/index.js +6 -26
- package/dist/tempo/index.js.map +1 -1
- package/dist/zod/Abi.d.ts +214 -0
- package/dist/zod/Abi.d.ts.map +1 -0
- package/dist/zod/Abi.js +5 -0
- package/dist/zod/Abi.js.map +1 -0
- package/dist/zod/AbiConstructor.d.ts +58 -0
- package/dist/zod/AbiConstructor.d.ts.map +1 -0
- package/dist/zod/AbiConstructor.js +18 -0
- package/dist/zod/AbiConstructor.js.map +1 -0
- package/dist/zod/AbiError.d.ts +20 -0
- package/dist/zod/AbiError.d.ts.map +1 -0
- package/dist/zod/AbiError.js +9 -0
- package/dist/zod/AbiError.js.map +1 -0
- package/dist/zod/AbiEvent.d.ts +23 -0
- package/dist/zod/AbiEvent.d.ts.map +1 -0
- package/dist/zod/AbiEvent.js +11 -0
- package/dist/zod/AbiEvent.js.map +1 -0
- package/dist/zod/AbiFallback.d.ts +16 -0
- package/dist/zod/AbiFallback.d.ts.map +1 -0
- package/dist/zod/AbiFallback.js +16 -0
- package/dist/zod/AbiFallback.js.map +1 -0
- package/dist/zod/AbiFunction.d.ts +109 -0
- package/dist/zod/AbiFunction.d.ts.map +1 -0
- package/dist/zod/AbiFunction.js +26 -0
- package/dist/zod/AbiFunction.js.map +1 -0
- package/dist/zod/AbiItem.d.ts +216 -0
- package/dist/zod/AbiItem.d.ts.map +1 -0
- package/dist/zod/AbiItem.js +26 -0
- package/dist/zod/AbiItem.js.map +1 -0
- package/dist/zod/AbiParameter.d.ts +32 -0
- package/dist/zod/AbiParameter.d.ts.map +1 -0
- package/dist/zod/AbiParameter.js +28 -0
- package/dist/zod/AbiParameter.js.map +1 -0
- package/dist/zod/AbiParameters.d.ts +30 -0
- package/dist/zod/AbiParameters.d.ts.map +1 -0
- package/dist/zod/AbiParameters.js +6 -0
- package/dist/zod/AbiParameters.js.map +1 -0
- package/dist/zod/AbiReceive.d.ts +6 -0
- package/dist/zod/AbiReceive.d.ts.map +1 -0
- package/dist/zod/AbiReceive.js +7 -0
- package/dist/zod/AbiReceive.js.map +1 -0
- package/dist/zod/AccountProof.d.ts +20 -0
- package/dist/zod/AccountProof.d.ts.map +1 -1
- package/dist/zod/AccountProof.js +24 -14
- package/dist/zod/AccountProof.js.map +1 -1
- package/dist/zod/Authorization.d.ts +43 -0
- package/dist/zod/Authorization.d.ts.map +1 -1
- package/dist/zod/Authorization.js +36 -16
- package/dist/zod/Authorization.js.map +1 -1
- package/dist/zod/BigInt.d.ts +2 -0
- package/dist/zod/BigInt.d.ts.map +1 -1
- package/dist/zod/BigInt.js +6 -1
- package/dist/zod/BigInt.js.map +1 -1
- package/dist/zod/Block.d.ts +219 -0
- package/dist/zod/Block.d.ts.map +1 -1
- package/dist/zod/Block.js +24 -20
- package/dist/zod/Block.js.map +1 -1
- package/dist/zod/BlockOverrides.d.ts +16 -0
- package/dist/zod/BlockOverrides.d.ts.map +1 -1
- package/dist/zod/BlockOverrides.js +15 -10
- package/dist/zod/BlockOverrides.js.map +1 -1
- package/dist/zod/Filter.d.ts +14 -0
- package/dist/zod/Filter.d.ts.map +1 -1
- package/dist/zod/Filter.js +24 -19
- package/dist/zod/Filter.js.map +1 -1
- package/dist/zod/Log.d.ts +15 -2
- package/dist/zod/Log.d.ts.map +1 -1
- package/dist/zod/Log.js +18 -13
- package/dist/zod/Log.js.map +1 -1
- package/dist/zod/Number.d.ts +2 -0
- package/dist/zod/Number.d.ts.map +1 -1
- package/dist/zod/Number.js +6 -1
- package/dist/zod/Number.js.map +1 -1
- package/dist/zod/RpcSchema.d.ts +318 -112
- package/dist/zod/RpcSchema.d.ts.map +1 -1
- package/dist/zod/RpcSchema.js +30 -82
- package/dist/zod/RpcSchema.js.map +1 -1
- package/dist/zod/Signature.d.ts +6 -0
- package/dist/zod/Signature.d.ts.map +1 -1
- package/dist/zod/Signature.js +9 -1
- package/dist/zod/Signature.js.map +1 -1
- package/dist/zod/Solidity.d.ts +15 -0
- package/dist/zod/Solidity.d.ts.map +1 -0
- package/dist/zod/Solidity.js +41 -0
- package/dist/zod/Solidity.js.map +1 -0
- package/dist/zod/StateOverrides.d.ts +32 -0
- package/dist/zod/StateOverrides.d.ts.map +1 -1
- package/dist/zod/StateOverrides.js +25 -18
- package/dist/zod/StateOverrides.js.map +1 -1
- package/dist/zod/Transaction.d.ts +312 -0
- package/dist/zod/Transaction.d.ts.map +1 -1
- package/dist/zod/Transaction.js +138 -93
- package/dist/zod/Transaction.js.map +1 -1
- package/dist/zod/TransactionEnvelope.d.ts +222 -0
- package/dist/zod/TransactionEnvelope.d.ts.map +1 -1
- package/dist/zod/TransactionEnvelope.js +19 -3
- package/dist/zod/TransactionEnvelope.js.map +1 -1
- package/dist/zod/TransactionReceipt.d.ts +32 -1
- package/dist/zod/TransactionReceipt.d.ts.map +1 -1
- package/dist/zod/TransactionReceipt.js +24 -19
- package/dist/zod/TransactionReceipt.js.map +1 -1
- package/dist/zod/TransactionRequest.d.ts +34 -0
- package/dist/zod/TransactionRequest.d.ts.map +1 -1
- package/dist/zod/TransactionRequest.js +28 -23
- package/dist/zod/TransactionRequest.js.map +1 -1
- package/dist/zod/TxEnvelopeEip1559.d.ts +44 -0
- package/dist/zod/TxEnvelopeEip1559.d.ts.map +1 -1
- package/dist/zod/TxEnvelopeEip1559.js +23 -14
- package/dist/zod/TxEnvelopeEip1559.js.map +1 -1
- package/dist/zod/TxEnvelopeEip2930.d.ts +42 -0
- package/dist/zod/TxEnvelopeEip2930.d.ts.map +1 -1
- package/dist/zod/TxEnvelopeEip2930.js +21 -12
- package/dist/zod/TxEnvelopeEip2930.js.map +1 -1
- package/dist/zod/TxEnvelopeEip4844.d.ts +58 -0
- package/dist/zod/TxEnvelopeEip4844.d.ts.map +1 -1
- package/dist/zod/TxEnvelopeEip4844.js +29 -20
- package/dist/zod/TxEnvelopeEip4844.js.map +1 -1
- package/dist/zod/TxEnvelopeEip7702.d.ts +60 -0
- package/dist/zod/TxEnvelopeEip7702.d.ts.map +1 -1
- package/dist/zod/TxEnvelopeEip7702.js +25 -16
- package/dist/zod/TxEnvelopeEip7702.js.map +1 -1
- package/dist/zod/TxEnvelopeLegacy.d.ts +34 -0
- package/dist/zod/TxEnvelopeLegacy.d.ts.map +1 -1
- package/dist/zod/TxEnvelopeLegacy.js +19 -10
- package/dist/zod/TxEnvelopeLegacy.js.map +1 -1
- package/dist/zod/TypedData.d.ts +226 -0
- package/dist/zod/TypedData.d.ts.map +1 -0
- package/dist/zod/TypedData.js +84 -0
- package/dist/zod/TypedData.js.map +1 -0
- package/dist/zod/Uint.d.ts +4 -0
- package/dist/zod/Uint.d.ts.map +1 -1
- package/dist/zod/Uint.js +14 -1
- package/dist/zod/Uint.js.map +1 -1
- package/dist/zod/Withdrawal.d.ts +7 -0
- package/dist/zod/Withdrawal.d.ts.map +1 -1
- package/dist/zod/Withdrawal.js +11 -6
- package/dist/zod/Withdrawal.js.map +1 -1
- package/dist/zod/internal/Integer.d.ts +15 -0
- package/dist/zod/internal/Integer.d.ts.map +1 -1
- package/dist/zod/internal/Integer.js +39 -0
- package/dist/zod/internal/Integer.js.map +1 -1
- package/dist/zod/internal/TransactionEnvelope.d.ts +38 -28
- package/dist/zod/internal/TransactionEnvelope.d.ts.map +1 -1
- package/dist/zod/internal/TransactionEnvelope.js +22 -15
- package/dist/zod/internal/TransactionEnvelope.js.map +1 -1
- package/dist/zod/internal/rpcSchemas/Eth.d.ts +260 -123
- package/dist/zod/internal/rpcSchemas/Eth.d.ts.map +1 -1
- package/dist/zod/internal/rpcSchemas/Eth.js +17 -6
- package/dist/zod/internal/rpcSchemas/Eth.js.map +1 -1
- package/dist/zod/internal/rpcSchemas/Wallet.d.ts +1 -1
- package/dist/zod/tempo/AuthorizationTempo.d.ts +405 -12
- package/dist/zod/tempo/AuthorizationTempo.d.ts.map +1 -1
- package/dist/zod/tempo/AuthorizationTempo.js +20 -0
- package/dist/zod/tempo/AuthorizationTempo.js.map +1 -1
- package/dist/zod/tempo/KeyAuthorization.d.ts +838 -69
- package/dist/zod/tempo/KeyAuthorization.d.ts.map +1 -1
- package/dist/zod/tempo/KeyAuthorization.js +49 -8
- package/dist/zod/tempo/KeyAuthorization.js.map +1 -1
- package/dist/zod/tempo/RpcSchemaTempo.d.ts +218 -36
- package/dist/zod/tempo/RpcSchemaTempo.d.ts.map +1 -1
- package/dist/zod/tempo/SignatureEnvelope.d.ts +0 -6
- package/dist/zod/tempo/SignatureEnvelope.d.ts.map +1 -1
- package/dist/zod/tempo/SignatureEnvelope.js +0 -2
- package/dist/zod/tempo/SignatureEnvelope.js.map +1 -1
- package/dist/zod/tempo/Transaction.d.ts +2203 -192
- package/dist/zod/tempo/Transaction.d.ts.map +1 -1
- package/dist/zod/tempo/Transaction.js +113 -33
- package/dist/zod/tempo/Transaction.js.map +1 -1
- package/dist/zod/tempo/TransactionReceipt.d.ts +34 -1
- package/dist/zod/tempo/TransactionReceipt.d.ts.map +1 -1
- package/dist/zod/tempo/TransactionReceipt.js +26 -21
- package/dist/zod/tempo/TransactionReceipt.js.map +1 -1
- package/dist/zod/tempo/TransactionRequest.d.ts +1049 -57
- package/dist/zod/tempo/TransactionRequest.d.ts.map +1 -1
- package/dist/zod/tempo/TransactionRequest.js +141 -26
- package/dist/zod/tempo/TransactionRequest.js.map +1 -1
- package/dist/zod/tempo/TxEnvelopeTempo.d.ts +225 -18
- package/dist/zod/tempo/TxEnvelopeTempo.d.ts.map +1 -1
- package/dist/zod/tempo/TxEnvelopeTempo.js +1 -1
- package/dist/zod/tempo/TxEnvelopeTempo.js.map +1 -1
- package/dist/zod/tempo/ZoneRpcAuthentication.d.ts +0 -3
- package/dist/zod/tempo/ZoneRpcAuthentication.d.ts.map +1 -1
- package/dist/zod/tempo/z.d.ts +0 -1
- package/dist/zod/tempo/z.d.ts.map +1 -1
- package/dist/zod/tempo/z.js +0 -1
- package/dist/zod/tempo/z.js.map +1 -1
- package/dist/zod/z.d.ts +15 -3
- package/dist/zod/z.d.ts.map +1 -1
- package/dist/zod/z.js +15 -3
- package/dist/zod/z.js.map +1 -1
- package/package.json +66 -11
- package/src/CHANGELOG.md +18 -0
- package/src/core/Abi.bench.ts +30 -0
- package/src/core/Abi.ts +13 -4
- package/src/core/AbiConstructor.ts +3 -2
- package/src/core/AbiError.ts +6 -2
- package/src/core/AbiEvent.ts +6 -2
- package/src/core/AbiFunction.ts +6 -2
- package/src/core/AbiItem.bench.ts +19 -0
- package/src/core/AbiItem.ts +20 -10
- package/src/core/AbiParameter.bench.ts +35 -0
- package/src/core/AbiParameter.ts +126 -0
- package/src/core/AbiParameters.bench.ts +22 -0
- package/src/core/AbiParameters.ts +77 -8
- package/src/core/AccountProof.ts +7 -4
- package/src/core/Authorization.ts +11 -4
- package/src/core/Block.ts +24 -13
- package/src/core/BlockOverrides.ts +18 -13
- package/src/core/Filter.ts +8 -5
- package/src/core/Log.ts +10 -6
- package/src/core/Rlp.ts +66 -3
- package/src/core/RpcSchema.ts +2 -2
- package/src/core/Signature.ts +6 -2
- package/src/core/StateOverrides.ts +10 -5
- package/src/core/Transaction.ts +37 -26
- package/src/core/TransactionReceipt.ts +17 -8
- package/src/core/TransactionRequest.ts +21 -11
- package/src/core/TxEnvelope.ts +9 -2
- package/src/core/TxEnvelopeEip1559.ts +21 -12
- package/src/core/TxEnvelopeEip2930.ts +17 -10
- package/src/core/TxEnvelopeEip4844.ts +25 -14
- package/src/core/TxEnvelopeEip7702.ts +21 -12
- package/src/core/TxEnvelopeLegacy.ts +20 -9
- package/src/core/Withdrawal.ts +9 -5
- package/src/core/_test/Abi.test.ts +4 -0
- package/src/core/_test/AbiItem.test.ts +3 -0
- package/src/core/_test/AbiParameter.test-d.ts +41 -0
- package/src/core/_test/AbiParameter.test.ts +84 -0
- package/src/core/_test/AbiParameters.decode.test.ts +88 -12
- package/src/core/_test/AbiParameters.encode.test.ts +68 -0
- package/src/core/_test/AbiParameters.test.ts +7 -0
- package/src/core/_test/AccountProof.test.ts +56 -0
- package/src/core/_test/Authorization.test.ts +29 -0
- package/src/core/_test/Block.test.ts +98 -0
- package/src/core/_test/BlockOverrides.test.ts +50 -0
- package/src/core/_test/Filter.test.ts +32 -0
- package/src/core/_test/Log.test.ts +42 -0
- package/src/core/_test/Rlp.test.ts +101 -0
- package/src/core/_test/RpcSchema.test-d.ts +12 -0
- package/src/core/_test/Signature.test.ts +14 -0
- package/src/core/_test/StateOverrides.test.ts +51 -0
- package/src/core/_test/Transaction.test.ts +64 -0
- package/src/core/_test/TransactionEnvelopeEip1559.test.ts +41 -0
- package/src/core/_test/TransactionEnvelopeEip2930.test.ts +38 -0
- package/src/core/_test/TransactionEnvelopeEip4844.test.ts +47 -0
- package/src/core/_test/TransactionEnvelopeEip7702.test.ts +71 -0
- package/src/core/_test/TransactionEnvelopeLegacy.test.ts +38 -0
- package/src/core/_test/TransactionReceipt.test.ts +54 -0
- package/src/core/_test/Withdrawal.test.ts +33 -0
- package/src/core/_test/index.test.ts +1 -0
- package/src/core/internal/abiParameters.ts +21 -3
- package/src/core/internal/human-readable/_snap/formatAbi.test.ts.snap +74 -0
- package/src/core/internal/human-readable/_snap/parseAbi.test.ts.snap +2353 -0
- package/src/core/internal/human-readable/errors.test.ts +258 -0
- package/src/core/internal/human-readable/errors.ts +205 -0
- package/src/core/internal/human-readable/formatAbi.test-d.ts +144 -0
- package/src/core/internal/human-readable/formatAbi.test.ts +23 -0
- package/src/core/internal/human-readable/formatAbi.ts +37 -0
- package/src/core/internal/human-readable/formatAbiItem.test-d.ts +115 -0
- package/src/core/internal/human-readable/formatAbiItem.test.ts +102 -0
- package/src/core/internal/human-readable/formatAbiItem.ts +136 -0
- package/src/core/internal/human-readable/formatAbiParameter.test-d.ts +125 -0
- package/src/core/internal/human-readable/formatAbiParameter.test.ts +126 -0
- package/src/core/internal/human-readable/formatAbiParameter.ts +86 -0
- package/src/core/internal/human-readable/formatAbiParameters.test-d.ts +92 -0
- package/src/core/internal/human-readable/formatAbiParameters.test.ts +32 -0
- package/src/core/internal/human-readable/formatAbiParameters.ts +46 -0
- package/src/core/internal/human-readable/human-readable.bench-d.ts +58 -0
- package/src/core/internal/human-readable/integration.test.ts +68 -0
- package/src/core/internal/human-readable/parseAbi.test-d.ts +188 -0
- package/src/core/internal/human-readable/parseAbi.test.ts +82 -0
- package/src/core/internal/human-readable/parseAbi.ts +59 -0
- package/src/core/internal/human-readable/parseAbiItem.test-d.ts +183 -0
- package/src/core/internal/human-readable/parseAbiItem.test.ts +264 -0
- package/src/core/internal/human-readable/parseAbiItem.ts +91 -0
- package/src/core/internal/human-readable/parseAbiParameter.test-d.ts +68 -0
- package/src/core/internal/human-readable/parseAbiParameter.test.ts +207 -0
- package/src/core/internal/human-readable/parseAbiParameter.ts +95 -0
- package/src/core/internal/human-readable/parseAbiParameters.test-d.ts +160 -0
- package/src/core/internal/human-readable/parseAbiParameters.test.ts +80 -0
- package/src/core/internal/human-readable/parseAbiParameters.ts +123 -0
- package/src/core/internal/human-readable/regex.ts +15 -0
- package/src/core/internal/human-readable/runtime/cache.ts +96 -0
- package/src/core/internal/human-readable/runtime/signatures.test.ts +236 -0
- package/src/core/internal/human-readable/runtime/signatures.ts +106 -0
- package/src/core/internal/human-readable/runtime/structs.test.ts +210 -0
- package/src/core/internal/human-readable/runtime/structs.ts +97 -0
- package/src/core/internal/human-readable/runtime/utils.test.ts +717 -0
- package/src/core/internal/human-readable/runtime/utils.ts +344 -0
- package/src/core/internal/human-readable/types/signatures.test-d.ts +255 -0
- package/src/core/internal/human-readable/types/signatures.ts +369 -0
- package/src/core/internal/human-readable/types/structs.test-d.ts +221 -0
- package/src/core/internal/human-readable/types/structs.ts +88 -0
- package/src/core/internal/human-readable/types/utils.test-d.ts +1029 -0
- package/src/core/internal/human-readable/types/utils.ts +392 -0
- package/src/core/internal/human-readable/types.ts +69 -0
- package/src/core/internal/quantity.ts +29 -0
- package/src/core/internal/rpcSchemas/eth.ts +76 -10
- package/src/erc4337/UserOperation.ts +26 -11
- package/src/erc4337/UserOperationGas.ts +19 -8
- package/src/erc4337/UserOperationReceipt.ts +14 -4
- package/src/index.ts +38 -0
- package/src/tempo/AuthorizationTempo.ts +11 -4
- package/src/tempo/Channel.test.ts +2 -23
- package/src/tempo/Channel.ts +10 -22
- package/src/tempo/KeyAuthorization.test.ts +22 -0
- package/src/tempo/KeyAuthorization.ts +20 -14
- package/src/tempo/MultisigConfig.test.ts +54 -37
- package/src/tempo/MultisigConfig.ts +59 -134
- package/src/tempo/PoolId.test.ts +7 -41
- package/src/tempo/PoolId.ts +15 -10
- package/src/tempo/RpcSchemaTempo.ts +1 -1
- package/src/tempo/SignatureEnvelope.test.ts +118 -17
- package/src/tempo/SignatureEnvelope.ts +81 -73
- package/src/tempo/Transaction.test.ts +0 -15
- package/src/tempo/Transaction.ts +78 -19
- package/src/tempo/TransactionReceipt.ts +9 -1
- package/src/tempo/TransactionRequest.test.ts +174 -1
- package/src/tempo/TransactionRequest.ts +98 -39
- package/src/tempo/TxEnvelopeTempo.test.ts +2 -2
- package/src/tempo/TxEnvelopeTempo.ts +7 -7
- package/src/tempo/e2e.test.ts +221 -43
- package/src/tempo/index.ts +6 -26
- package/src/version.ts +1 -1
- package/src/zod/Abi.ts +5 -0
- package/src/zod/AbiConstructor.ts +24 -0
- package/src/zod/AbiError.ts +9 -0
- package/src/zod/AbiEvent.ts +11 -0
- package/src/zod/AbiFallback.ts +22 -0
- package/src/zod/AbiFunction.ts +32 -0
- package/src/zod/AbiItem.ts +28 -0
- package/src/zod/AbiParameter.ts +36 -0
- package/src/zod/AbiParameters.ts +7 -0
- package/src/zod/AbiReceive.ts +7 -0
- package/src/zod/AccountProof.ts +36 -14
- package/src/zod/Authorization.ts +65 -18
- package/src/zod/BigInt.ts +12 -1
- package/src/zod/Block.ts +68 -26
- package/src/zod/BlockOverrides.ts +24 -10
- package/src/zod/Filter.ts +26 -21
- package/src/zod/Log.ts +23 -13
- package/src/zod/Number.ts +12 -1
- package/src/zod/RpcSchema.ts +123 -29
- package/src/zod/Signature.ts +18 -3
- package/src/zod/Solidity.ts +83 -0
- package/src/zod/StateOverrides.ts +31 -19
- package/src/zod/Transaction.ts +254 -101
- package/src/zod/TransactionEnvelope.ts +27 -3
- package/src/zod/TransactionReceipt.ts +34 -19
- package/src/zod/TransactionRequest.ts +42 -23
- package/src/zod/TxEnvelopeEip1559.ts +34 -13
- package/src/zod/TxEnvelopeEip2930.ts +32 -11
- package/src/zod/TxEnvelopeEip4844.ts +40 -19
- package/src/zod/TxEnvelopeEip7702.ts +46 -15
- package/src/zod/TxEnvelopeLegacy.ts +30 -9
- package/src/zod/TypedData.ts +111 -0
- package/src/zod/Uint.ts +19 -0
- package/src/zod/Withdrawal.ts +18 -6
- package/src/zod/_test/Abi.test-d.ts +46 -0
- package/src/zod/_test/Abi.test.ts +163 -0
- package/src/zod/_test/AccountProof.test.ts +32 -0
- package/src/zod/_test/Authorization.test.ts +42 -0
- package/src/zod/_test/BigInt.test.ts +9 -1
- package/src/zod/_test/Block.test.ts +54 -0
- package/src/zod/_test/BlockOverrides.test.ts +35 -0
- package/src/zod/_test/Filter.test.ts +34 -0
- package/src/zod/_test/Log.test.ts +49 -0
- package/src/zod/_test/Number.test.ts +8 -1
- package/src/zod/_test/RpcSchema.test-d.ts +46 -0
- package/src/zod/_test/RpcSchema.test.ts +70 -0
- package/src/zod/_test/Signature.test.ts +10 -0
- package/src/zod/_test/StateOverrides.test.ts +26 -0
- package/src/zod/_test/Transaction.test.ts +30 -0
- package/src/zod/_test/TransactionEnvelope.test.ts +34 -0
- package/src/zod/_test/TransactionReceipt.test.ts +45 -1
- package/src/zod/_test/TransactionRequest.test.ts +31 -0
- package/src/zod/_test/TxEnvelope.test.ts +32 -0
- package/src/zod/_test/TypedData.test-d.ts +20 -0
- package/src/zod/_test/TypedData.test.ts +87 -0
- package/src/zod/_test/Uint.test.ts +15 -0
- package/src/zod/_test/Withdrawal.test.ts +35 -0
- package/src/zod/_test/z.test-d.ts +6 -0
- package/src/zod/_test/z.test.ts +17 -0
- package/src/zod/internal/Integer.ts +58 -0
- package/src/zod/internal/TransactionEnvelope.ts +33 -17
- package/src/zod/internal/rpcSchemas/Eth.ts +20 -6
- package/src/zod/tempo/AuthorizationTempo.ts +25 -0
- package/src/zod/tempo/KeyAuthorization.ts +58 -8
- package/src/zod/tempo/SignatureEnvelope.ts +0 -2
- package/src/zod/tempo/Transaction.ts +148 -33
- package/src/zod/tempo/TransactionReceipt.ts +36 -21
- package/src/zod/tempo/TransactionRequest.ts +154 -28
- package/src/zod/tempo/TxEnvelopeTempo.ts +1 -1
- package/src/zod/tempo/_test/AuthorizationTempo.test.ts +24 -0
- package/src/zod/tempo/_test/KeyAuthorization.test.ts +85 -0
- package/src/zod/tempo/_test/SignatureEnvelope.test.ts +0 -2
- package/src/zod/tempo/_test/Transaction.test.ts +178 -0
- package/src/zod/tempo/_test/TransactionReceipt.test.ts +26 -0
- package/src/zod/tempo/_test/TransactionRequest.test.ts +73 -0
- package/src/zod/tempo/z.ts +0 -1
- package/src/zod/z.ts +16 -2
- package/dist/tempo/TokenId.d.ts +0 -87
- package/dist/tempo/TokenId.d.ts.map +0 -1
- package/dist/tempo/TokenId.js +0 -123
- package/dist/tempo/TokenId.js.map +0 -1
- package/dist/zod/tempo/TokenId.d.ts +0 -6
- package/dist/zod/tempo/TokenId.d.ts.map +0 -1
- package/dist/zod/tempo/TokenId.js +0 -14
- package/dist/zod/tempo/TokenId.js.map +0 -1
- package/src/tempo/TokenId.bench.ts +0 -36
- package/src/tempo/TokenId.test.ts +0 -79
- package/src/tempo/TokenId.ts +0 -141
- package/src/zod/tempo/TokenId.ts +0 -15
- package/src/zod/tempo/_test/TokenId.test-d.ts +0 -17
- package/src/zod/tempo/_test/TokenId.test.ts +0 -21
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyAuthorization.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KeyAuthorization.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAG7B,uCAAuC;AACvC,eAAO,MAAM,aAAa;;;;iBAIxB,CAAA;AAEF,gCAAgC;AAChC,eAAO,MAAM,eAAe;;;iBAG1B,CAAA;AAEF,6BAA6B;AAC7B,eAAO,MAAM,YAAY;;;;;;iBAGvB,CAAA;AAEF,oCAAoC;AACpC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;oBAGhC,CAAA;AAEF,uCAAuC;AACvC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAmB,CAAA;AAEtC,sFAAsF;AACtF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAwB,CAAA"}
|
|
@@ -2,33 +2,37 @@
|
|
|
2
2
|
import * as core_KeyAuthorization from '../../tempo/KeyAuthorization.js';
|
|
3
3
|
import * as z_Address from '../Address.js';
|
|
4
4
|
import * as z_Hex from '../Hex.js';
|
|
5
|
+
import { uintBigintNumberish, uintNumberNumberish, } from '../internal/Integer.js';
|
|
5
6
|
import * as z from 'zod/mini';
|
|
6
7
|
import * as z_SignatureEnvelope from './SignatureEnvelope.js';
|
|
7
8
|
/** RPC token spending limit schema. */
|
|
8
9
|
export const RpcTokenLimit = z.object({
|
|
9
10
|
limit: z_Hex.Hex,
|
|
10
|
-
period: z.optional(z_Hex.Hex),
|
|
11
|
+
period: z.optional(z.nullable(z_Hex.Hex)),
|
|
11
12
|
token: z_Address.Address,
|
|
12
13
|
});
|
|
13
14
|
/** RPC selector rule schema. */
|
|
14
15
|
export const RpcSelectorRule = z.object({
|
|
15
|
-
recipients: z.optional(z.readonly(z.array(z_Address.Address))),
|
|
16
|
+
recipients: z.optional(z.nullable(z.readonly(z.array(z_Address.Address)))),
|
|
16
17
|
selector: z_Hex.Hex,
|
|
17
18
|
});
|
|
18
19
|
/** RPC call scope schema. */
|
|
19
20
|
export const RpcCallScope = z.object({
|
|
20
|
-
selectorRules: z.optional(z.readonly(z.array(RpcSelectorRule))),
|
|
21
|
+
selectorRules: z.optional(z.nullable(z.readonly(z.array(RpcSelectorRule)))),
|
|
21
22
|
target: z_Address.Address,
|
|
22
23
|
});
|
|
23
24
|
/** RPC key authorization schema. */
|
|
24
25
|
export const Rpc = z.object({
|
|
25
|
-
|
|
26
|
+
account: z.optional(z.nullable(z_Address.Address)),
|
|
27
|
+
allowedCalls: z.optional(z.nullable(z.readonly(z.array(RpcCallScope)))),
|
|
26
28
|
chainId: z_Hex.Hex,
|
|
27
29
|
expiry: z.optional(z.nullable(z_Hex.Hex)),
|
|
30
|
+
isAdmin: z.optional(z.nullable(z.boolean())),
|
|
28
31
|
keyId: z_Address.Address,
|
|
29
32
|
keyType: z_SignatureEnvelope.Type,
|
|
30
|
-
limits: z.optional(z.readonly(z.array(RpcTokenLimit))),
|
|
33
|
+
limits: z.optional(z.nullable(z.readonly(z.array(RpcTokenLimit)))),
|
|
31
34
|
signature: z_SignatureEnvelope.Rpc,
|
|
35
|
+
witness: z.optional(z.nullable(z_Hex.Hex)),
|
|
32
36
|
});
|
|
33
37
|
/** Token spending limit schema. */
|
|
34
38
|
export const TokenLimit = z.object({
|
|
@@ -36,14 +40,19 @@ export const TokenLimit = z.object({
|
|
|
36
40
|
period: z.optional(z.number()),
|
|
37
41
|
token: z_Address.Address,
|
|
38
42
|
});
|
|
43
|
+
/** Encode-only token spending limit schema accepting numberish `toRpc` inputs. */
|
|
44
|
+
export const TokenLimitToRpc = z.object({
|
|
45
|
+
limit: uintBigintNumberish(),
|
|
46
|
+
period: z.optional(uintNumberNumberish()),
|
|
47
|
+
token: z_Address.Address,
|
|
48
|
+
});
|
|
39
49
|
/** Call scope schema. */
|
|
40
50
|
export const Scope = z.object({
|
|
41
51
|
address: z_Address.Address,
|
|
42
52
|
recipients: z.optional(z.readonly(z.array(z_Address.Address))),
|
|
43
53
|
selector: z.optional(z.union([z_Hex.Hex, z.string()])),
|
|
44
54
|
});
|
|
45
|
-
|
|
46
|
-
export const Domain = z.object({
|
|
55
|
+
const domainShape = {
|
|
47
56
|
address: z_Address.Address,
|
|
48
57
|
chainId: z.bigint(),
|
|
49
58
|
expiry: z.optional(z.number()),
|
|
@@ -51,12 +60,44 @@ export const Domain = z.object({
|
|
|
51
60
|
scopes: z.optional(z.readonly(z.array(Scope))),
|
|
52
61
|
signature: z_SignatureEnvelope.Domain,
|
|
53
62
|
type: z_SignatureEnvelope.Type,
|
|
54
|
-
|
|
63
|
+
witness: z.optional(z_Hex.Hex),
|
|
64
|
+
};
|
|
65
|
+
/** Decoded key authorization schema (TIP-1049 admin fields are paired: both or neither). */
|
|
66
|
+
export const Domain = z.union([
|
|
67
|
+
z.object({
|
|
68
|
+
...domainShape,
|
|
69
|
+
account: z_Address.Address,
|
|
70
|
+
isAdmin: z.boolean(),
|
|
71
|
+
}),
|
|
72
|
+
z.object(domainShape),
|
|
73
|
+
]);
|
|
74
|
+
const domainToRpcShape = {
|
|
75
|
+
...domainShape,
|
|
76
|
+
chainId: uintBigintNumberish(),
|
|
77
|
+
expiry: z.optional(uintNumberNumberish()),
|
|
78
|
+
limits: z.optional(z.readonly(z.array(TokenLimitToRpc))),
|
|
79
|
+
};
|
|
80
|
+
/** Encode-only decoded key authorization schema accepting numberish `toRpc` inputs. */
|
|
81
|
+
export const DomainToRpc = z.union([
|
|
82
|
+
z.object({
|
|
83
|
+
...domainToRpcShape,
|
|
84
|
+
account: z_Address.Address,
|
|
85
|
+
isAdmin: z.boolean(),
|
|
86
|
+
}),
|
|
87
|
+
z.object(domainToRpcShape),
|
|
88
|
+
]);
|
|
55
89
|
/** Codec decoding an RPC key authorization into a signed key authorization. */
|
|
56
90
|
export const KeyAuthorization = z.codec(Rpc, Domain, {
|
|
57
91
|
decode: (value) => core_KeyAuthorization.fromRpc(value),
|
|
58
92
|
encode: (value) => core_KeyAuthorization.toRpc(value),
|
|
59
93
|
});
|
|
94
|
+
/** Encode-only key authorization codec accepting numberish `toRpc` inputs. */
|
|
95
|
+
export const KeyAuthorizationToRpc = z.codec(Rpc, DomainToRpc, {
|
|
96
|
+
decode: (value) => core_KeyAuthorization.fromRpc(value),
|
|
97
|
+
encode: (value) => core_KeyAuthorization.toRpc(value),
|
|
98
|
+
});
|
|
60
99
|
/** Signed key authorization schema. */
|
|
61
100
|
export const Signed = KeyAuthorization;
|
|
101
|
+
/** Encode-only signed key authorization schema accepting numberish `toRpc` inputs. */
|
|
102
|
+
export const SignedToRpc = KeyAuthorizationToRpc;
|
|
62
103
|
//# sourceMappingURL=KeyAuthorization.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyAuthorization.js","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,OAAO,KAAK,qBAAqB,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,SAAS,MAAM,eAAe,CAAA;AAC1C,OAAO,KAAK,KAAK,MAAM,WAAW,CAAA;AAClC,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAC7B,OAAO,KAAK,mBAAmB,MAAM,wBAAwB,CAAA;AAE7D,uCAAuC;AACvC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,KAAK,EAAE,KAAK,CAAC,GAAG;IAChB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"KeyAuthorization.js","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,OAAO,KAAK,qBAAqB,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,SAAS,MAAM,eAAe,CAAA;AAC1C,OAAO,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GAAG,qBAAqB,CAAA"}
|
|
@@ -54,7 +54,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
54
54
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
55
55
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
56
56
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
57
|
-
configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
58
57
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
59
58
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
60
59
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -74,6 +73,7 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
74
73
|
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
75
74
|
value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
76
75
|
}, z.core.$strip>>>>;
|
|
76
|
+
capabilities: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
77
77
|
chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
78
78
|
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
79
79
|
feePayer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
@@ -89,22 +89,24 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
89
89
|
gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
90
90
|
input: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
91
91
|
keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
93
|
+
allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
94
|
+
selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
95
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
95
96
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
96
|
-
}, z.core.$strip
|
|
97
|
+
}, z.core.$strip>>>>>;
|
|
97
98
|
target: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
98
|
-
}, z.core.$strip
|
|
99
|
+
}, z.core.$strip>>>>>;
|
|
99
100
|
chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
100
101
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
102
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
101
103
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
102
104
|
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
103
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
105
|
+
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
104
106
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
105
|
-
period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}
|
|
107
|
+
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
106
108
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
107
|
-
}, z.core.$strip
|
|
109
|
+
}, z.core.$strip>>>>>;
|
|
108
110
|
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
109
111
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
110
112
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -133,7 +135,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
133
135
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
134
136
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
135
137
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
136
|
-
configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
137
138
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
138
139
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
139
140
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -145,12 +146,23 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
145
146
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
146
147
|
type: z.ZodMiniLiteral<"multisig">;
|
|
147
148
|
}, z.core.$strip>]>;
|
|
149
|
+
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
148
150
|
}, z.core.$strip>>;
|
|
149
151
|
keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
152
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
150
153
|
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
151
154
|
maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
152
155
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
153
156
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
157
|
+
multisigInit: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
158
|
+
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
159
|
+
threshold: z.ZodMiniNumber<number>;
|
|
160
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
161
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
162
|
+
weight: z.ZodMiniNumber<number>;
|
|
163
|
+
}, z.core.$strip>>>;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
multisigSignatureCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
154
166
|
nonce: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
155
167
|
nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
156
168
|
r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -183,7 +195,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
183
195
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
184
196
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
185
197
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
186
|
-
configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
187
198
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
188
199
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
189
200
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -253,7 +264,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
253
264
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
254
265
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
255
266
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
256
|
-
genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
257
267
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
258
268
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
259
269
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -273,6 +283,7 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
273
283
|
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
274
284
|
value: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
275
285
|
}, z.core.$strip>>>>;
|
|
286
|
+
capabilities: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
276
287
|
chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
277
288
|
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
278
289
|
feePayer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
@@ -282,12 +293,14 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
282
293
|
v: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
283
294
|
yParity: z.ZodMiniNumber<number>;
|
|
284
295
|
}, z.core.$strip>, z.ZodMiniNull]>>;
|
|
285
|
-
feeToken: z.ZodMiniOptional<z.
|
|
296
|
+
feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
286
297
|
from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
287
298
|
gas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
288
299
|
gasPrice: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
289
300
|
input: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
290
|
-
keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
301
|
+
keyAuthorization: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
302
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
303
|
+
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
291
304
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
292
305
|
chainId: z.ZodMiniBigInt<bigint>;
|
|
293
306
|
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
@@ -343,7 +356,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
343
356
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
344
357
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
345
358
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
346
|
-
genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
347
359
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
348
360
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
349
361
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -356,12 +368,92 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
356
368
|
type: z.ZodMiniLiteral<"multisig">;
|
|
357
369
|
}, z.core.$strip>]>;
|
|
358
370
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
359
|
-
|
|
371
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
372
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
373
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
374
|
+
chainId: z.ZodMiniBigInt<bigint>;
|
|
375
|
+
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
376
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
377
|
+
limit: z.ZodMiniBigInt<bigint>;
|
|
378
|
+
period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
379
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
380
|
+
}, z.core.$strip>>>>;
|
|
381
|
+
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
382
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
383
|
+
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
384
|
+
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
385
|
+
}, z.core.$strip>>>>;
|
|
386
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
387
|
+
signature: z.ZodMiniObject<{
|
|
388
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
389
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
390
|
+
yParity: z.ZodMiniNumber<number>;
|
|
391
|
+
}, z.core.$strip>;
|
|
392
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
393
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
394
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
395
|
+
publicKey: z.ZodMiniObject<{
|
|
396
|
+
prefix: z.ZodMiniNumber<number>;
|
|
397
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
398
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
399
|
+
}, z.core.$strip>;
|
|
400
|
+
signature: z.ZodMiniObject<{
|
|
401
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
402
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
405
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
406
|
+
metadata: z.ZodMiniObject<{
|
|
407
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
408
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
409
|
+
}, z.core.$strip>;
|
|
410
|
+
publicKey: z.ZodMiniObject<{
|
|
411
|
+
prefix: z.ZodMiniNumber<number>;
|
|
412
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
413
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
signature: z.ZodMiniObject<{
|
|
416
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
417
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
418
|
+
}, z.core.$strip>;
|
|
419
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
420
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
421
|
+
inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
|
|
422
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
423
|
+
type: z.ZodMiniLiteral<"keychain">;
|
|
424
|
+
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
425
|
+
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
426
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
427
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
428
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
429
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
430
|
+
threshold: z.ZodMiniNumber<number>;
|
|
431
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
432
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
433
|
+
weight: z.ZodMiniNumber<number>;
|
|
434
|
+
}, z.core.$strip>>>;
|
|
435
|
+
}, z.core.$strip>>;
|
|
436
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
437
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
438
|
+
}, z.core.$strip>]>;
|
|
439
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
440
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
441
|
+
}, z.core.$strip>]>>;
|
|
360
442
|
keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
443
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
361
444
|
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
362
445
|
maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
363
446
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
364
447
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
448
|
+
multisigInit: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
449
|
+
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
450
|
+
threshold: z.ZodMiniNumber<number>;
|
|
451
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
452
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
453
|
+
weight: z.ZodMiniNumber<number>;
|
|
454
|
+
}, z.core.$strip>>>;
|
|
455
|
+
}, z.core.$strip>>;
|
|
456
|
+
multisigSignatureCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
365
457
|
nonce: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
366
458
|
nonceKey: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBigInt<bigint>, z.ZodMiniLiteral<"random">]>>;
|
|
367
459
|
r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -408,7 +500,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
408
500
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
409
501
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
410
502
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
411
|
-
genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
412
503
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
413
504
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
414
505
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -901,7 +992,7 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
|
|
|
901
992
|
blockTimestamp: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
902
993
|
data: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
903
994
|
logIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
|
|
904
|
-
topics: z.
|
|
995
|
+
topics: z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
905
996
|
transactionHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
906
997
|
transactionIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
|
|
907
998
|
removed: z.ZodMiniBoolean<boolean>;
|
|
@@ -972,7 +1063,6 @@ export declare const Tempo: {
|
|
|
972
1063
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
973
1064
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
974
1065
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
975
|
-
configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
976
1066
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
977
1067
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
978
1068
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -992,6 +1082,7 @@ export declare const Tempo: {
|
|
|
992
1082
|
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
993
1083
|
value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
994
1084
|
}, z.core.$strip>>>>;
|
|
1085
|
+
capabilities: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
995
1086
|
chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
996
1087
|
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
997
1088
|
feePayer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
@@ -1007,22 +1098,24 @@ export declare const Tempo: {
|
|
|
1007
1098
|
gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1008
1099
|
input: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1009
1100
|
keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1101
|
+
account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
1102
|
+
allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1103
|
+
selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1104
|
+
recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
|
|
1013
1105
|
selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1014
|
-
}, z.core.$strip
|
|
1106
|
+
}, z.core.$strip>>>>>;
|
|
1015
1107
|
target: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1016
|
-
}, z.core.$strip
|
|
1108
|
+
}, z.core.$strip>>>>>;
|
|
1017
1109
|
chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1018
1110
|
expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
1111
|
+
isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
|
|
1019
1112
|
keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1020
1113
|
keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
1021
|
-
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1114
|
+
limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1022
1115
|
limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1023
|
-
period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}
|
|
1116
|
+
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
1024
1117
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1025
|
-
}, z.core.$strip
|
|
1118
|
+
}, z.core.$strip>>>>>;
|
|
1026
1119
|
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1027
1120
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1028
1121
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -1051,7 +1144,6 @@ export declare const Tempo: {
|
|
|
1051
1144
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
1052
1145
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1053
1146
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1054
|
-
configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1055
1147
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1056
1148
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1057
1149
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -1063,12 +1155,23 @@ export declare const Tempo: {
|
|
|
1063
1155
|
signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
1064
1156
|
type: z.ZodMiniLiteral<"multisig">;
|
|
1065
1157
|
}, z.core.$strip>]>;
|
|
1158
|
+
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
1066
1159
|
}, z.core.$strip>>;
|
|
1067
1160
|
keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1161
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1068
1162
|
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
1069
1163
|
maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1070
1164
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1071
1165
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1166
|
+
multisigInit: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1167
|
+
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1168
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1169
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1170
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1171
|
+
weight: z.ZodMiniNumber<number>;
|
|
1172
|
+
}, z.core.$strip>>>;
|
|
1173
|
+
}, z.core.$strip>>;
|
|
1174
|
+
multisigSignatureCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1072
1175
|
nonce: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1073
1176
|
nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1074
1177
|
r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1101,7 +1204,6 @@ export declare const Tempo: {
|
|
|
1101
1204
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
1102
1205
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1103
1206
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1104
|
-
configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1105
1207
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1106
1208
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1107
1209
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -1171,7 +1273,6 @@ export declare const Tempo: {
|
|
|
1171
1273
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
1172
1274
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1173
1275
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1174
|
-
genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1175
1276
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1176
1277
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1177
1278
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -1191,6 +1292,7 @@ export declare const Tempo: {
|
|
|
1191
1292
|
to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1192
1293
|
value: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
1193
1294
|
}, z.core.$strip>>>>;
|
|
1295
|
+
capabilities: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
1194
1296
|
chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1195
1297
|
data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1196
1298
|
feePayer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
@@ -1200,12 +1302,14 @@ export declare const Tempo: {
|
|
|
1200
1302
|
v: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1201
1303
|
yParity: z.ZodMiniNumber<number>;
|
|
1202
1304
|
}, z.core.$strip>, z.ZodMiniNull]>>;
|
|
1203
|
-
feeToken: z.ZodMiniOptional<z.
|
|
1305
|
+
feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1204
1306
|
from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1205
1307
|
gas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
1206
1308
|
gasPrice: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
1207
1309
|
input: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1208
|
-
keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1310
|
+
keyAuthorization: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1311
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1312
|
+
isAdmin: z.ZodMiniBoolean<boolean>;
|
|
1209
1313
|
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1210
1314
|
chainId: z.ZodMiniBigInt<bigint>;
|
|
1211
1315
|
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
@@ -1261,7 +1365,6 @@ export declare const Tempo: {
|
|
|
1261
1365
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
1262
1366
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1263
1367
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1264
|
-
genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1265
1368
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1266
1369
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1267
1370
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -1274,12 +1377,92 @@ export declare const Tempo: {
|
|
|
1274
1377
|
type: z.ZodMiniLiteral<"multisig">;
|
|
1275
1378
|
}, z.core.$strip>]>;
|
|
1276
1379
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
1277
|
-
|
|
1380
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1381
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1382
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1383
|
+
chainId: z.ZodMiniBigInt<bigint>;
|
|
1384
|
+
expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1385
|
+
limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1386
|
+
limit: z.ZodMiniBigInt<bigint>;
|
|
1387
|
+
period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1388
|
+
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1389
|
+
}, z.core.$strip>>>>;
|
|
1390
|
+
scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1391
|
+
address: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1392
|
+
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
1393
|
+
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
1394
|
+
}, z.core.$strip>>>>;
|
|
1395
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1396
|
+
signature: z.ZodMiniObject<{
|
|
1397
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1398
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1399
|
+
yParity: z.ZodMiniNumber<number>;
|
|
1400
|
+
}, z.core.$strip>;
|
|
1401
|
+
type: z.ZodMiniLiteral<"secp256k1">;
|
|
1402
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1403
|
+
prehash: z.ZodMiniBoolean<boolean>;
|
|
1404
|
+
publicKey: z.ZodMiniObject<{
|
|
1405
|
+
prefix: z.ZodMiniNumber<number>;
|
|
1406
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1407
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1408
|
+
}, z.core.$strip>;
|
|
1409
|
+
signature: z.ZodMiniObject<{
|
|
1410
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1411
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1412
|
+
}, z.core.$strip>;
|
|
1413
|
+
type: z.ZodMiniLiteral<"p256">;
|
|
1414
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1415
|
+
metadata: z.ZodMiniObject<{
|
|
1416
|
+
authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1417
|
+
clientDataJSON: z.ZodMiniString<string>;
|
|
1418
|
+
}, z.core.$strip>;
|
|
1419
|
+
publicKey: z.ZodMiniObject<{
|
|
1420
|
+
prefix: z.ZodMiniNumber<number>;
|
|
1421
|
+
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1422
|
+
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1423
|
+
}, z.core.$strip>;
|
|
1424
|
+
signature: z.ZodMiniObject<{
|
|
1425
|
+
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1426
|
+
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1427
|
+
}, z.core.$strip>;
|
|
1428
|
+
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1429
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1430
|
+
inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
|
|
1431
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1432
|
+
type: z.ZodMiniLiteral<"keychain">;
|
|
1433
|
+
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1434
|
+
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
1435
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1436
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1437
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1438
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1439
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1440
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1441
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1442
|
+
weight: z.ZodMiniNumber<number>;
|
|
1443
|
+
}, z.core.$strip>>>;
|
|
1444
|
+
}, z.core.$strip>>;
|
|
1445
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
1446
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
1447
|
+
}, z.core.$strip>]>;
|
|
1448
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
1449
|
+
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1450
|
+
}, z.core.$strip>]>>;
|
|
1278
1451
|
keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1452
|
+
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1279
1453
|
keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
|
|
1280
1454
|
maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
1281
1455
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
1282
1456
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
1457
|
+
multisigInit: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1458
|
+
salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1459
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1460
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1461
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1462
|
+
weight: z.ZodMiniNumber<number>;
|
|
1463
|
+
}, z.core.$strip>>>;
|
|
1464
|
+
}, z.core.$strip>>;
|
|
1465
|
+
multisigSignatureCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1283
1466
|
nonce: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
|
|
1284
1467
|
nonceKey: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBigInt<bigint>, z.ZodMiniLiteral<"random">]>>;
|
|
1285
1468
|
r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1326,7 +1509,6 @@ export declare const Tempo: {
|
|
|
1326
1509
|
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
|
|
1327
1510
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1328
1511
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1329
|
-
genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1330
1512
|
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1331
1513
|
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1332
1514
|
threshold: z.ZodMiniNumber<number>;
|
|
@@ -1819,7 +2001,7 @@ export declare const Tempo: {
|
|
|
1819
2001
|
blockTimestamp: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
|
|
1820
2002
|
data: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1821
2003
|
logIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
|
|
1822
|
-
topics: z.
|
|
2004
|
+
topics: z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1823
2005
|
transactionHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1824
2006
|
transactionIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>;
|
|
1825
2007
|
removed: z.ZodMiniBoolean<boolean>;
|