Skip to main content

payload

Standalone Functions

compute_encrypted_event_log

compute_encrypted_event_log(contract_address, randomness, ovsk_app, ovpk, ivpk, event);

Parameters

NameType
contract_addressAztecAddress
randomnessField
ovsk_appField
ovpkGrumpkinPoint
ivpkGrumpkinPoint
eventEvent

compute_encrypted_note_log

compute_encrypted_note_log(contract_address, storage_slot, ovsk_app, ovpk, ivpk, note);

Parameters

NameType
contract_addressAztecAddress
storage_slotField
ovsk_appField
ovpkGrumpkinPoint
ivpkGrumpkinPoint
noteNote

fr_to_private_key

fr_to_private_key(r);

Parameters

NameType
rField

compute_ivpk_app

compute_ivpk_app(ivpk, contract_address);

Parameters

NameType
ivpkGrumpkinPoint
contract_addressAztecAddress