CreateContractHostFunction constructor

CreateContractHostFunction(
  1. Address _address,
  2. String _wasmId, {
  3. XdrUint256? salt,
})

Implementation

CreateContractHostFunction(this._address, this._wasmId, {XdrUint256? salt}) {
  if (salt != null) {
    this._salt = salt;
  } else {
    this._salt = new XdrUint256(TweetNaCl.randombytes(32));
  }
}