globals
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.19.0
@midnight-ntwrk/compact-runtime v0.19.0
Classes
- ChargedState
- CompactError
- CompactTypeBytes
- CompactTypeEnum
- CompactTypeMerkleTreePath
- CompactTypeUnsignedInteger
- CompactTypeVector
- ContractInterfaceMismatchError
- ContractMaintenanceAuthority
- ContractOperation
- ContractState
- CostModel
- QueryContext
- QueryResults
- StateBoundedMerkleTree
- StateMap
- StateValue
- VmResults
- VmStack
Interfaces
- CallProofData
- CircuitContext
- CircuitResults
- CommunicationCommitmentData
- CompactType
- ConstructorContext
- ConstructorResult
- ContractStateProvider
- EncodedCoinPublicKey
- EncodedContractAddress
- EncodedQualifiedShieldedCoinInfo
- EncodedRecipient
- EncodedShieldedCoinInfo
- EncodedZswapLocalState
- JubjubPoint
- JubjubSchnorrSignature
- MerkleTreeDigest
- MerkleTreePath
- MerkleTreePathEntry
- PartialProofData
- ProofData
- Recipient
- Secp256k1Point
- WitnessContext
- ZswapLocalState
Type Aliases
- AlignedValue
- Alignment
- AlignmentAtom
- AlignmentSegment
- BlockContext
- CallContext
- CallProofDataTrace
- CircuitId
- CoinCommitment
- CoinPublicKey
- CommunicationCommitment
- CommunicationCommitmentRand
- ContractAddress
- ContractReferenceLocations
- DomainSeparator
- DustTokenType
- Effects
- EmptyPublicLedger
- EncodedStateValue
- Fr
- GatherResult
- Key
- LogEvent
- Nonce
- Nullifier
- Op
- PublicAddress
- PublicLedgerSegments
- QualifiedShieldedCoinInfo
- RawTokenType
- RunningCost
- ShieldedCoinInfo
- ShieldedTokenType
- Signature
- SignatureVerifyingKey
- SigningKey
- SparseCompactADT
- SparseCompactArrayLikeADT
- SparseCompactCellADT
- SparseCompactContractAddress
- SparseCompactListADT
- SparseCompactMapADT
- SparseCompactSetADT
- SparseCompactStruct
- SparseCompactType
- SparseCompactValue
- SparseCompactVector
- TokenType
- Transcript
- UnshieldedTokenType
- UserAddress
- Value
Variables
- CompactTypeBoolean
- CompactTypeField
- CompactTypeJubjubPoint
- CompactTypeMerkleTreeDigest
- CompactTypeMerkleTreePathEntry
- CompactTypeOpaqueString
- CompactTypeOpaqueUint8Array
- CompactTypeSecp256k1Base
- CompactTypeSecp256k1Point
- CompactTypeSecp256k1Scalar
- CONTRACT_ADDRESS_BYTE_LENGTH
DUMMY_ADDRESS- FIELD_MODULUS
- HEX_REGEX_NO_PREFIX
- JUBJUB_SCALAR_MODULUS
- MAX_FIELD
- MAX_JUBJUB_SCALAR
- MAX_SECP256K1_BASE
- MAX_SECP256K1_SCALAR
- sampleJubjubSchnorrSk
- SECP256K1_BASE_MODULUS
- SECP256K1_SCALAR_MODULUS
- versionString
Functions
- addField
- alignedConcat
- assert
- assertDefined
- assertIsContractAddress
- assertUndefined
- bigIntModFr
- bigIntToValue
- checkRuntimeVersion
- communicationCommitment
- communicationCommitmentRandomness
- constructJubjubPoint
- contractDependencies
- convertBigintToBytes
- convertBytesToField
- convertBytesToUint
- convertNumericToJubjubScalar
- copyCircuitContext
- createCallContext
- createCircuitContext
- createConstructorContext
- createInitialQueryContext
- createWitnessContext
- createZswapInput
- createZswapOutput
- crossContractCall
- 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
- isEncodedContractAddress
- 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
- signatureVerifyingKey
- signData
- signingKeyFromBip340
- subField
- toBinaryRepr
- toHex
- transientCommit
- transientHash
- typeError
- upgradeFromTransient
- valueToBigInt
- verifySignature