globals
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.20.0
@midnight-ntwrk/compact-runtime v0.20.0
Classes
- ChargedState
- CompactError
- CompactTypeBytes
- CompactTypeEnum
- CompactTypeMerkleTreePath
- CompactTypeUnsignedInteger
- CompactTypeVector
- ContractMaintenanceAuthority
- ContractOperation
- ContractState
- CostModel
- ModuleResolutionError
- QueryContext
- QueryResults
- StateBoundedMerkleTree
- StateMap
- StateValue
- VmResults
- VmStack
Interfaces
- CallProofData
- CircuitContext
- CircuitResults
- CommunicationCommitmentData
- CompactType
- ConstructorContext
- ConstructorResult
- ContractModuleProvider
- ContractStateProvider
- Curve25519Point
- EncodedCoinPublicKey
- EncodedContractAddress
- EncodedQualifiedShieldedCoinInfo
- EncodedRecipient
- EncodedShieldedCoinInfo
- EncodedZswapLocalState
- JubjubPoint
- JubjubSchnorrSignature
- MerkleTreeDigest
- MerkleTreePath
- MerkleTreePathEntry
- PartialProofData
- ProofData
- Recipient
- Secp256k1Point
- Secp256r1Point
- WitnessContext
- ZswapLocalState
Type Aliases
- AlignedValue
- Alignment
- AlignmentAtom
- AlignmentSegment
- BlockContext
- CallContext
- CallProofDataTrace
- CircuitContextOptions
- CircuitId
- CircuitSignature
- CircuitSignatures
- CoinCommitment
- CoinPublicKey
- CommunicationCommitment
- CommunicationCommitmentRand
- ConformanceCheck
- ConformanceResult
- ConformanceViolation
- ContractAddress
- ContractCtor
- ContractInstance
- CrossContractCallOptions
- CrossContractInputs
- DeclaredInterfaces
- DomainSeparator
- DustTokenType
- Effects
- EncodedStateValue
- Fr
- GatherResult
- InterfaceCircuitDeclaration
- InterfaceDescriptor
- Key
- LogEvent
- Module
- ModuleResolutionContext
- ModuleResolutionFailure
- ModuleThunk
- NamedSignatureType
- Nonce
- Nullifier
- Op
- ProvableCircuit
- ProvableCircuits
- PublicAddress
- PureCircuit
- PureCircuits
- QualifiedShieldedCoinInfo
- RawTokenType
- RunningCost
- ShieldedCoinInfo
- ShieldedTokenType
- Signature
- SignatureType
- SignatureVerifyingKey
- SigningKey
- TokenType
- Transcript
- UnreadableSignature
- UnshieldedTokenType
- UserAddress
- Value
- VerifierKeyHash
Variables
- CompactTypeBoolean
- CompactTypeCurve25519Base
- CompactTypeCurve25519Point
- CompactTypeCurve25519Scalar
- CompactTypeField
- CompactTypeJubjubPoint
- CompactTypeJubjubScalar
- CompactTypeMerkleTreeDigest
- CompactTypeMerkleTreePathEntry
- CompactTypeOpaqueString
- CompactTypeOpaqueUint8Array
- CompactTypeSecp256k1Base
- CompactTypeSecp256k1Point
- CompactTypeSecp256k1Scalar
- CompactTypeSecp256r1Base
- CompactTypeSecp256r1Point
- CompactTypeSecp256r1Scalar
- CONTRACT_ADDRESS_BYTE_LENGTH
- CURVE25519_BASE_MODULUS
- CURVE25519_SCALAR_MODULUS
DUMMY_ADDRESS- FIELD_MODULUS
- HEX_REGEX_NO_PREFIX
- JUBJUB_SCALAR_MODULUS
- MAX_CURVE25519_BASE
- MAX_CURVE25519_SCALAR
- MAX_FIELD
- MAX_JUBJUB_SCALAR
- MAX_SECP256K1_BASE
- MAX_SECP256K1_SCALAR
- MAX_SECP256R1_BASE
- MAX_SECP256R1_SCALAR
- sampleJubjubSchnorrSk
- SECP256K1_BASE_MODULUS
- SECP256K1_SCALAR_MODULUS
- SECP256R1_BASE_MODULUS
- SECP256R1_SCALAR_MODULUS
- versionString
Functions
- addField
- alignedConcat
- assert
- assertDefined
- assertIsContractAddress
- assertUndefined
- asVerifierKeyHash
- bigIntModFr
- bigIntToValue
- checkConformance
- checkRuntimeVersion
- communicationCommitment
- communicationCommitmentRandomness
- constructJubjubPoint
- convertBigintToBytes
- convertBytesToField
- convertBytesToUint
- convertNumericToJubjubScalar
- copyCircuitContext
- createCallContext
- createCircuitContext
- createConstructorContext
- createInitialQueryContext
- createWitnessContext
- createZswapInput
- createZswapOutput
- crossContractCall
- curve25519Add
- curve25519BaseAdd
- curve25519BaseInv
- curve25519BaseMul
- curve25519BaseNeg
- curve25519BaseSub
- curve25519FromProjective
- curve25519Mul
- curve25519MulGenerator
- curve25519PointX
- curve25519PointY
- curve25519ScalarAdd
- curve25519ScalarInv
- curve25519ScalarMul
- curve25519ScalarNeg
- curve25519ScalarSub
- curve25519ToProjective
- decodeCoinPublicKey
- decodeContractAddress
- decodeQualifiedShieldedCoinInfo
- decodeRawTokenType
- decodeRecipient
- decodeShieldedCoinInfo
- decodeUserAddress
- decodeZswapLocalState
- degradeToTransient
- dummyContractAddress
- dummyUserAddress
- ecAdd
- ecMul
- ecMulGenerator
- ecNeg
- emptyRunningCost
- emptyZswapLocalState
- encodeCoinPublicKey
- encodeContractAddress
- encodeQualifiedShieldedCoinInfo
- encodeRawTokenType
- encodeRecipient
- encodeShieldedCoinInfo
- encodeUserAddress
- encodeZswapLocalState
- entryPointHash
- finalizeCallProofData
- fromHex
- hasCoinCommitment
- hashToCurve
- isContractAddress
- isValidCurve25519Point
- isValidSecp256k1Point
- isValidSecp256r1Point
- isVerifierKeyHash
- jubjubPointX
- jubjubPointY
- jubjubSampleScalar
- jubjubSchnorrSign
- jubjubSchnorrVerify
- jubjubSchnorrVerifyingKey
- keccak256
- leafHash
- maxAlignedSize
- maxField
- mulField
- ownPublicKey
- persistentCommit
- persistentHash
- proofDataIntoSerializedPreimage
- queryLedgerState
- rawTokenType
- runProgram
- runtimeCoinCommitment
- sampleContractAddress
- sampleRawTokenType
- sampleSigningKey
- sampleUserAddress
- secp256k1Add
- secp256k1BaseAdd
- secp256k1BaseInv
- secp256k1BaseMul
- secp256k1BaseNeg
- secp256k1BaseSub
- secp256k1EcdsaRecover
- secp256k1FromProjective
- secp256k1Mul
- secp256k1MulGenerator
- secp256k1PointX
- secp256k1PointY
- secp256k1ScalarAdd
- secp256k1ScalarInv
- secp256k1ScalarMul
- secp256k1ScalarNeg
- secp256k1ScalarSub
- secp256k1ToProjective
- secp256r1Add
- secp256r1BaseAdd
- secp256r1BaseInv
- secp256r1BaseMul
- secp256r1BaseNeg
- secp256r1BaseSub
- secp256r1EcdsaRecover
- secp256r1FromProjective
- secp256r1Mul
- secp256r1MulGenerator
- secp256r1PointX
- secp256r1PointY
- secp256r1ScalarAdd
- secp256r1ScalarInv
- secp256r1ScalarMul
- secp256r1ScalarNeg
- secp256r1ScalarSub
- secp256r1ToProjective
- sha512
- signatureTypesEqual
- signatureVerifyingKey
- signData
- signingKeyFromBip340
- subField
- toBinaryRepr
- toHex
- transientCommit
- transientHash
- typeError
- upgradeFromTransient
- valueToBigInt
- verifierKeyHashOf
- verifySignature