FungibleTokenOfferContract
Hierarchy
- unknown
- FungibleTokenOfferContract
Index
Constructors
Properties
Methods
Constructors
constructor
Returns FungibleTokenOfferContract
Properties
events
Type declaration
buy: typeof OfferEvent
offer: typeof OfferEvent
updateWhitelist: any
withdraw: typeof OfferEvent
price
seller
token
whitelist
Methods
buy
Parameters
amount: UInt64
Returns Promise<void>
deploy
Parameters
Returns Promise<void>
initialize
Parameters
seller: PublicKey
token: PublicKey
amount: UInt64
price: UInt64
Returns Promise<void>
offer
Parameters
amount: UInt64
price: UInt64
Returns Promise<void>
updateWhitelist
Parameters
whitelist: Whitelist
Returns Promise<void>
withdraw
Parameters
amount: UInt64
Returns Promise<void>