class AccountState implements Serializable {

    public void setNonce(BigInteger nonce) {
        logger.traceEntry("params: {}", nonce);
        Util.check(!(nonce == null || nonce.compareTo(BigInteger.ZERO) < 0), "nonce>=0");
        Util.check(!(this.nonce != null && this.nonce.compareTo(nonce) > 0), "new nonce should be bigger");
        this.nonce = nonce;
        logger.traceExit();
    }

    public  AccountState(AccountAddress address);
    public  AccountState(BigInteger nonce, BigInteger balance, AccountAddress address);
    public  AccountState(AccountState source);

}