Permissions
Defined in: lib/mina/v1/account-update.ts:291
Permissions specify how specific aspects of the zkapp account are allowed to be modified. All fields are denominated by a Permission.
Extends
Permissions_
Properties
access
access: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:361
Permission to control the ability to include any account update for this
account in a transaction. Note that this is more restrictive than all other
permissions combined. For normal accounts it can safely be set to none
,
but for token contracts this has to be more restrictive, to prevent
unauthorized token interactions -- for example, it could be
proofOrSignature
.
Overrides
Permissions_.access
editActionState
editActionState: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:340
The Permission corresponding to the ability to emit actions to the account.
Overrides
Permissions_.editActionState
editState
editState: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:296
The Permission corresponding to the 8 state fields associated with an account.
Overrides
Permissions_.editState
incrementNonce
incrementNonce: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:349
Overrides
Permissions_.incrementNonce
receive
receive: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:308
The Permission corresponding to the ability to receive transactions to this account.
Overrides
Permissions_.receive
send
send: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:302
The Permission corresponding to the ability to send transactions from this account.
Overrides
Permissions_.send
setDelegate
setDelegate: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:314
The Permission corresponding to the ability to set the delegate field of the account.
Overrides
Permissions_.setDelegate
setPermissions
setPermissions: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:320
The Permission corresponding to the ability to set the permissions field of the account.
Overrides
Permissions_.setPermissions
setTiming
setTiming: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:351
Overrides
Permissions_.setTiming
setTokenSymbol
setTokenSymbol: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:346
The Permission corresponding to the ability to set the token symbol for this account.
Overrides
Permissions_.setTokenSymbol
setVerificationKey
setVerificationKey: VerificationKeyPermission;
Defined in: lib/mina/v1/account-update.ts:327
The Permission corresponding to the ability to set the verification key associated with the circuit tied to this account. Effectively "upgradeability" of the smart contract.
Overrides
Permissions_.setVerificationKey
setVotingFor
setVotingFor: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:350
Overrides
Permissions_.setVotingFor
setZkappUri
setZkappUri: AuthRequired;
Defined in: lib/mina/v1/account-update.ts:335
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 "upgradeability" of the smart contract.
Overrides
Permissions_.setZkappUri