- Phantasma Explorer -

Contract Information
Contract Script
This a built-in chain contract.
View source code in Github.
Contract ABI

Methods

GetSales(): Object
IsSeller(target:Object): Bool
CreateSale(from:Object, name:String, flags:Enum, startDate:Timestamp, endDate:Timestamp, sellSymbol:String, receiveSymbol:String, price:Number, globalSoftCap:Number, globalHardCap:Number, userSoftCap:Number, userHardCap:Number): Object
IsSaleActive(saleHash:Object): Bool
GetSale(saleHash:Object): Object
GetSaleParticipants(saleHash:Object): Object
GetSaleWhitelists(saleHash:Object): Object
IsWhitelisted(saleHash:Object, address:Object): Bool
AddToWhitelist(saleHash:Object, target:Object): None
RemoveFromWhitelist(saleHash:Object, target:Object): None
GetPurchasedAmount(saleHash:Object, address:Object): Number
GetSoldAmount(saleHash:Object): Number
Purchase(from:Object, saleHash:Object, quoteSymbol:String, quoteAmount:Number): None
CloseSale(from:Object, saleHash:Object): None
GetLatestSaleHash(): Object
EditSalePrice(saleHash:Object, price:Number): None

Events

None.