FungibleTokenAdvancedAdmin
Hierarchy
- unknown- FungibleTokenAdvancedAdmin
 
Implements
Index
Constructors
constructor
- Returns FungibleTokenAdvancedAdmin
Properties
adminData
adminPublicKey
events
Type declaration
- updateWhitelist: any
tokenContract
whitelist
Methods
approveBase
- Overrides the approveBase method to prevent transfers of tokens. - Parameters- forest: AccountUpdateForest- The account update forest. 
 - Returns Promise<void>
publiccanChangeAdmin
- Parameters- _admin: PublicKey
 - Returns Promise<any>
publiccanChangeVerificationKey
- Parameters- _vk: VerificationKey
 - Returns Promise<Bool>
publiccanMint
- Parameters- _accountUpdate: AccountUpdate
 - Returns Promise<any>
publiccanPause
- Returns Promise<Bool>
publiccanResume
- Returns Promise<Bool>
deploy
- Parameters- Returns Promise<void>
updateVerificationKey
- Update the verification key. Note that because we have set the permissions for setting the verification key to - impossibleDuringCurrentVersion(), this will only be possible in case of a protocol update that requires an update.- Parameters- vk: VerificationKey
 - Returns Promise<void>
updateWhitelist
- Parameters- whitelist: Whitelist
 - Returns Promise<void>
A contract that grants permissions for administrative actions on a token.
We separate this out into a dedicated contract. That way, when issuing a token, a user can specify their own rules for administrative actions, without changing the token contract itself.
The advantage is that third party applications that only use the token in a non-privileged way can integrate against the unchanged token contract.