public static Address contractAddress(final Address senderAddress, final long nonce) {
    return Address.extract(
        keccak256(
            RLP.encode(
                out -> {
                  out.startList();
                  out.writeBytes(senderAddress);
                  out.writeLongScalar(nonce);
                  out.endList();
                })));
  }
Address of the created contract.

<p>This implement equation (86) in Section 7 of the Yellow Paper (rev. a91c29c).

@param senderAddress the address of the transaction sender.
@param nonce the nonce of this transaction.
@return The generated address of the created contract.
datatypes/src/main/java/org/hyperledger/besu/datatypes/Address.java