- Phantasma Explorer -

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

Methods

GetMinimumQuantity(tokenDecimals:Number): Number
GetMinimumSymbolQuantity(symbol:String): Number
IsExchange(address:Object): Bool
CreateExchange(from:Object, id:String, name:String): None
GetExchanges(): Object
OpenMarketOrder(from:Object, provider:Object, baseSymbol:String, quoteSymbol:String, orderSize:Number, side:Enum): None
OpenLimitOrder(from:Object, provider:Object, baseSymbol:String, quoteSymbol:String, orderSize:Number, price:Number, side:Enum, IoC:Bool): None
CancelOrder(uid:Number): None
GetExchangeOrder(uid:Number): Object
GetOrderLeftoverEscrow(uid:Number): Number
GetOrderBooks(baseSymbol:String, quoteSymbol:String): Object
GetOrderBook(baseSymbol:String, quoteSymbol:String, side:Enum): Object
SwapTokens(buyer:Object, seller:Object, baseSymbol:String, quoteSymbol:String, amount:Number, price:Number, signature:Bytes): None
SwapToken(buyer:Object, seller:Object, baseSymbol:String, quoteSymbol:String, tokenID:Number, price:Number, signature:Bytes): None

Events

None.