Package org.xrpl.xrpl4j.model.ledger
Interface VoteEntry
- All Known Implementing Classes:
ImmutableVoteEntry
@Immutable
@Beta
public interface VoteEntry
Describes a vote for the trading fee on an AMM by an LP.
This class will be marked Beta until the AMM amendment is enabled on mainnet. Its API is subject to
change.
-
Method Summary
Modifier and TypeMethodDescriptionaccount()The address of the LP who voted.static ImmutableVoteEntry.Builderbuilder()Construct aVoteEntrybuilder.The trading fee that the LP voted for.The weight of the LP's vote.
-
Method Details
-
builder
Construct aVoteEntrybuilder.- Returns:
- An
ImmutableVoteEntry.Builder.
-
account
Address account()The address of the LP who voted.- Returns:
- An
Address.
-
tradingFee
TradingFee tradingFee()The trading fee that the LP voted for.- Returns:
- A
TradingFee.
-
voteWeight
VoteWeight voteWeight()The weight of the LP's vote.- Returns:
- The
VoteWeight.
-