Package com.jelurida.ardor.contracts
Class SplitPayment
java.lang.Object
nxt.addons.AbstractContract
com.jelurida.ardor.contracts.SplitPayment
- All Implemented Interfaces:
Contract
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessTransaction(TransactionContext context) Receive amount from the trigger transaction and split it between the accounts specified in the contract parameters based on the specified ratioMethods inherited from class nxt.addons.AbstractContract
isDuplicate, processBlock, processInvocation, processRequest, processVoucherMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nxt.addons.Contract
init, minProductVersion, shutdown
-
Constructor Details
-
SplitPayment
public SplitPayment()
-
-
Method Details
-
processTransaction
Receive amount from the trigger transaction and split it between the accounts specified in the contract parameters based on the specified ratio- Specified by:
processTransactionin interfaceContract- Overrides:
processTransactionin classAbstractContract- Parameters:
context- contract context
-