public class DistributedRandomNumberGenerator extends AbstractContract<java.util.Map<java.lang.String,java.lang.Long>,java.lang.String>
Constructor and Description |
---|
DistributedRandomNumberGenerator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
processInvocation(DelegatedContext context,
java.util.Map<java.lang.String,java.lang.Long> data)
Process internal invocation by another contract
|
isDuplicate, processBlock, processRequest, processTransaction, processVoucher
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, minProductVersion, shutdown
public java.lang.String processInvocation(DelegatedContext context, java.util.Map<java.lang.String,java.lang.Long> data)
processInvocation
in interface Contract<java.util.Map<java.lang.String,java.lang.Long>,java.lang.String>
processInvocation
in class AbstractContract<java.util.Map<java.lang.String,java.lang.Long>,java.lang.String>
context
- the context of the invoking contractdata
- a map of accounts and their weight