Package io.vertigo.audit.impl.ledger
Interface LedgerPlugin
- All Superinterfaces:
io.vertigo.core.node.component.CoreComponent,io.vertigo.core.node.component.Plugin
- All Known Implementing Classes:
EthereumLedgerPlugin,FakeLedgerPlugin
public interface LedgerPlugin
extends io.vertigo.core.node.component.Plugin
- Author:
- xdurand
-
Method Summary
Modifier and TypeMethodDescriptionGet the current balance of the walletgetWalletBalance(LedgerAddress ledgerAddress) Gets the current balance of the provided addressvoidSent data to the default address on the ledger.
-
Method Details
-
sendData
Sent data to the default address on the ledger.- Parameters:
data- data in clear to store
-
getWalletBalance
Gets the current balance of the provided address- Parameters:
ledgerAddress-- Returns:
- the current balance of the provided address
-
getMyWalletBalance
BigInteger getMyWalletBalance()Get the current balance of the wallet- Returns:
- the current balance of the wallet
-