public class IgnisArdorRates<InvocationData,ReturnedData> extends AbstractContract<InvocationData,ReturnedData>
| Modifier and Type | Class and Description |
|---|---|
static interface |
IgnisArdorRates.Params |
| Constructor and Description |
|---|
IgnisArdorRates() |
| Modifier and Type | Method and Description |
|---|---|
<T extends TransactionResponse> |
isDuplicate(T myTransaction,
java.util.List<T> existingUnconfirmedTransactions) |
JO |
processBlock(BlockContext context)
Write the Ignis per Ardor exchange rate to an account property every pre-defined number of blocks defined by the
contract parameter "frequency".
|
JO |
processRequest(RequestContext context)
Send the exchange rate in response to a simple API call
|
JO |
processTransaction(TransactionContext context)
Send the Ignis per Ardor exchange rate as an encrypted message back to the sender of the trigger transaction.
|
processInvocation, processVoucherclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, minProductVersion, shutdownpublic JO processBlock(BlockContext context)
processBlock in interface Contract<InvocationData,ReturnedData>processBlock in class AbstractContract<InvocationData,ReturnedData>context - the block contextpublic JO processTransaction(TransactionContext context)
processTransaction in interface Contract<InvocationData,ReturnedData>processTransaction in class AbstractContract<InvocationData,ReturnedData>context - the transaction contextpublic JO processRequest(RequestContext context)
processRequest in interface Contract<InvocationData,ReturnedData>processRequest in class AbstractContract<InvocationData,ReturnedData>context - the api request contextpublic <T extends TransactionResponse> boolean isDuplicate(T myTransaction, java.util.List<T> existingUnconfirmedTransactions)
isDuplicate in interface Contract<InvocationData,ReturnedData>isDuplicate in class AbstractContract<InvocationData,ReturnedData>