MsgStoreCode constructor

MsgStoreCode({
  1. String? sender,
  2. List<int>? wasmByteCode,
  3. AccessConfig? instantiatePermission,
})

Implementation

factory MsgStoreCode({
  $core.String? sender,
  $core.List<$core.int>? wasmByteCode,
  $3.AccessConfig? instantiatePermission,
}) {
  final _result = create();
  if (sender != null) {
    _result.sender = sender;
  }
  if (wasmByteCode != null) {
    _result.wasmByteCode = wasmByteCode;
  }
  if (instantiatePermission != null) {
    _result.instantiatePermission = instantiatePermission;
  }
  return _result;
}