FungibleTokenBondingCurveAdmin
Hierarchy
- unknown- FungibleTokenBondingCurveAdmin
 
Implements
- unknown
Index
Constructors
constructor
- Returns FungibleTokenBondingCurveAdmin
Properties
curve
events
Type declaration
- mint: typeof BondingMintEvent
- redeem: typeof BondingRedeemEvent
feeMaster
insideMint
owner
token
Methods
approveBase
- Parameters- forest: AccountUpdateForest
 - 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- props: DeployArgs
 - Returns Promise<void>
ensureOwnerSignature
- Returns any
initialize
- Parameters- Returns Promise<void>
mint
- Parameters- to: PublicKey
- amount: UInt64
- price: UInt64
 - Returns Promise<void>
redeem
- Parameters- amount: UInt64
- minPrice: UInt64
- slippage: UInt32
 - Returns Promise<void>
sync
- 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>
In case the user burned tokens without calling the redeem method, we need to sync the supply to the actual circulated supply