Interface AccountLookupEntry


  • public interface AccountLookupEntry
    Interface representing an account lookup entry which stores the read only and read write indexes of addresses in an address lookup table.
    • Method Detail

      • addReadOnlyEntry

        void addReadOnlyEntry​(PublicKey address,
                              int readOnlyIndex)
        Adds a read-only entry for the given address.
        Parameters:
        address - the PublicKey of the address
        readOnlyIndex - the index of the read-only address
      • addReadWriteEntry

        void addReadWriteEntry​(PublicKey address,
                               int readWriteIndex)
        Adds a read-write entry for the given address.
        Parameters:
        address - the PublicKey of the address
        readWriteIndex - the index of the read-write address
      • getAddresses

        java.util.List<PublicKey> getAddresses()
        Returns a list of all public keys in the address lookup table.
        Returns:
        a list of PublicKey objects representing all addresses
      • getLookupTableAddress

        PublicKey getLookupTableAddress()
        Returns the public key of the lookup table address.
        Returns:
        the PublicKey of the lookup table address