Skip to main content

Interface: Permissions

Permissions specify how specific aspects of the zkapp account are allowed to be modified. All fields are denominated by a Permission .

Hierarchy

  • Permissions_

    Permissions

Table of contents

Properties

Properties

editSequenceState

editSequenceState: AuthRequired

The Permission corresponding to the ability to change the sequence state associated with the account.

TODO: Define sequence state here as well.

Overrides

Permissions_.editSequenceState

Defined in

lib/account_update.ts:212


editState

editState: AuthRequired

The Permission corresponding to the 8 state fields associated with an account.

Overrides

Permissions_.editState

Defined in

lib/account_update.ts:165


incrementNonce

incrementNonce: AuthRequired

Overrides

Permissions_.incrementNonce

Defined in

lib/account_update.ts:221


receive

receive: AuthRequired

The Permission corresponding to the ability to receive transactions to this account.

Overrides

Permissions_.receive

Defined in

lib/account_update.ts:177


send

send: AuthRequired

The Permission corresponding to the ability to send transactions from this account.

Overrides

Permissions_.send

Defined in

lib/account_update.ts:171


setDelegate

setDelegate: AuthRequired

The Permission corresponding to the ability to set the delegate field of the account.

Overrides

Permissions_.setDelegate

Defined in

lib/account_update.ts:183


setPermissions

setPermissions: AuthRequired

The Permission corresponding to the ability to set the permissions field of the account.

Overrides

Permissions_.setPermissions

Defined in

lib/account_update.ts:189


setTokenSymbol

setTokenSymbol: AuthRequired

The Permission corresponding to the ability to set the token symbol for this account.

Overrides

Permissions_.setTokenSymbol

Defined in

lib/account_update.ts:218


setVerificationKey

setVerificationKey: AuthRequired

The Permission corresponding to the ability to set the verification key associated with the circuit tied to this account. Effectively "upgradability" of the smart contract.

Overrides

Permissions_.setVerificationKey

Defined in

lib/account_update.ts:196


setVotingFor

setVotingFor: AuthRequired

Overrides

Permissions_.setVotingFor

Defined in

lib/account_update.ts:222


setZkappUri

setZkappUri: AuthRequired

The Permission corresponding to the ability to set the zkapp uri typically pointing to the source code of the smart contract. Usually this should be changed whenever the Permissions.setVerificationKey is changed. Effectively "upgradability" of the smart contract.

Overrides

Permissions_.setZkappUri

Defined in

lib/account_update.ts:204