Class ContractTransactionMinedListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<String,io.meeds.wallet.model.ContractTransactionEvent>
io.meeds.wallet.blockchain.listener.ContractTransactionMinedListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.services.listener.ListenerBase<String,io.meeds.wallet.model.ContractTransactionEvent>
public class ContractTransactionMinedListener
extends org.exoplatform.services.listener.Listener<String,io.meeds.wallet.model.ContractTransactionEvent>
Triggered when a contract transaction is mined. This listener will not be
triggered for ether transactions bu it will verify at the same time that the
sender wallet doesn't have any pending ether transaction, else it will be
verified. (Thus for Wallet initializations, the ether transactions are sent
before contract sending to ensure to get the ether transaction mined before
token transaction all time, because it will use a lower nonce)
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionContractTransactionMinedListener(io.meeds.wallet.service.WalletTransactionService walletTransactionService, io.meeds.wallet.service.BlockchainTransactionService blockchainTransactionService) -
Method Summary
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.services.listener.ListenerBase
getName
-
Constructor Details
-
ContractTransactionMinedListener
public ContractTransactionMinedListener(io.meeds.wallet.service.WalletTransactionService walletTransactionService, io.meeds.wallet.service.BlockchainTransactionService blockchainTransactionService)
-
-
Method Details