noteCoder

Note ABI encoding helper functions

Source:

Methods

(inner) decodeNoteFromEventLog(parameter) → {Array.<Object>}

Decode a note from it's event log

Parameters:
Name Type Description
parameter string

event log parameter

Source:

(inner) encodeNotePublicKey(gamma_sigma_ephemeral) → {string}

Encode a note public key

Parameters:
Name Type Description
gamma_sigma_ephemeral Array.<Object>

object containing three elements: gamma, sigma and the ephemeral key of a note

Source: