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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigInteger
getMyWalletBalance()
Get the current balance of the walletBigInteger
getWalletBalance(LedgerAddress ledgerAddress)
Gets the current balance of the provided addressvoid
sendData(String data)
Sent data to the default address on the ledger.
-
-
-
Method Detail
-
sendData
void sendData(String data)
Sent data to the default address on the ledger.- Parameters:
data
- data in clear to store
-
getWalletBalance
BigInteger getWalletBalance(LedgerAddress ledgerAddress)
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
-
-