class LockWhitelist {

    public void consume(Address address) {
        LockWhitelistEntry entry = whitelistedAddresses.get(address);
        if (entry == null) {
            return;
        }
        entry.consume();

        if (entry.isConsumed()) {
            this.remove(address);
        }
    }

    public  LockWhitelist(Map<Address, LockWhitelistEntry> whitelistedAddresses);
    public  LockWhitelist(Map<Address, LockWhitelistEntry> whitelistedAddresses, int disableBlockHeight);

}