Hierarchy

  • JoinSplitCircuit

Constructors

Properties

PROOF_ID_TYPE_DEPOSIT: number = 1
PROOF_ID_TYPE_INVALID: number = 0
PROOF_ID_TYPE_SEND: number = 3
PROOF_ID_TYPE_WITHDRAW: number = 2

Methods

  • Parameters

    • eddsa: any
    • nc: bigint
    • inputNoteInUse: bigint
    • nk: SigningKey

    Returns Promise<any>

  • Parameters

    • accountKey: SigningKey
    • nf1: bigint
    • nf2: bigint
    • outputNc1: bigint
    • outputNc2: bigint
    • publicOwner: bigint
    • publicValue: bigint

    Returns Promise<any>

  • Parameters

    • eddsa: any
    • accountKey: SigningKey
    • signingKey: SigningKey
    • acStateKey: bigint
    • proofId: number
    • aliasHash: bigint
    • assetId: number
    • publicAssetId: number
    • publicValue: bigint
    • publicOwner: undefined | EigenAddress
    • noteRecipent: EigenAddress
    • confirmedAndPendingInputNotes: Note[]
    • accountRequired: boolean

    Returns Promise<JoinSplitInput[]>

  • Parameters

    • eddsa: any
    • accountKey: SigningKey
    • signingKey: SigningKey
    • acStateKey: bigint
    • proofId: number
    • aliasHash: bigint
    • assetId: number
    • publicAssetId: number
    • publicValue: bigint
    • publicOwner: undefined | EigenAddress
    • recipientPrivateOutput: bigint
    • noteRecipent: EigenAddress
    • confirmedAndPendingInputNotes: Note[]
    • accountRequired: boolean

    Returns Promise<JoinSplitInput[]>

  • Parameters

    • nc1: any
    • nc2: any
    • outputNote1: any
    • outputNote2: any
    • publicOwner: any
    • publicValue: any

    Returns Promise<any>

Generated using TypeDoc