Class CoinExchangeTradingBot
java.lang.Object
nxt.addons.AbstractContract<Object,Object>
com.jelurida.ardor.contracts.trading.CoinExchangeTradingBot
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic interfacestatic classstatic enumstatic enumstatic classstatic classstatic classstatic classstatic interfacestatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<CoinExchangeTradingBot.PairParams>voidinit(InitializationContext context) Contract initialization.processBlock(BlockContext context) voidshutdown(ShutdownContext context) Contract shutdownMethods inherited from class nxt.addons.AbstractContract
isDuplicate, processInvocation, processRequest, processTransaction, processVoucherMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nxt.addons.Contract
minProductVersion
-
Constructor Details
-
CoinExchangeTradingBot
public CoinExchangeTradingBot()
-
-
Method Details
-
init
Description copied from interface:ContractContract initialization.Invoked once after loading the contract class, before any other callback. Use this callback to initialize long running services required by the contract.
- Parameters:
context- the contract context
-
shutdown
Description copied from interface:ContractContract shutdownInvoked once before destroying the contract class, after any other callback. Use this callback to clean up long running services.
- Parameters:
context- the contract context
-
processBlock
- Specified by:
processBlockin interfaceContract<Object,Object> - Overrides:
processBlockin classAbstractContract<Object,Object>
-
getPairs
-