Class ContractTransactionMinedListener
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.services.listener.Listener<String,org.exoplatform.wallet.model.ContractTransactionEvent>
-
- org.exoplatform.wallet.blockchain.listener.ContractTransactionMinedListener
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class ContractTransactionMinedListener extends org.exoplatform.services.listener.Listener<String,org.exoplatform.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)
-
-
Constructor Summary
Constructors Constructor Description ContractTransactionMinedListener(org.exoplatform.wallet.service.WalletTransactionService walletTransactionService, org.exoplatform.wallet.service.BlockchainTransactionService blockchainTransactionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEvent(org.exoplatform.services.listener.Event<String,org.exoplatform.wallet.model.ContractTransactionEvent> event)
-