Package com.jelurida.ardor.contracts
Class LeaseRenewal
java.lang.Object
nxt.addons.AbstractContract
com.jelurida.ardor.contracts.LeaseRenewal
- All Implemented Interfaces:
Contract
TODO lease renewal still needs some work don't deploy it at the moment
The LeaseRenewal contract checks the existing lessors of the contract account for lease renewal.
If necessarily it will renew the lease if the lessor passphrase is provided in the contract runner configuration.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDuplicate(TransactionResponse myTransaction, List existingUnconfirmedTransactions) processBlock(BlockContext context) Process new blockMethods inherited from class nxt.addons.AbstractContract
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
init, minProductVersion, shutdown
-
Constructor Details
-
LeaseRenewal
public LeaseRenewal()
-
-
Method Details
-
processBlock
Process new block- Specified by:
processBlockin interfaceContract- Overrides:
processBlockin classAbstractContract- Parameters:
context- the block context
-
isDuplicate
- Specified by:
isDuplicatein interfaceContract- Overrides:
isDuplicatein classAbstractContract
-