contractAddress property

String contractAddress

Implementation

String get contractAddress {
  return memo0<String>(() {
    if (operationsList == null) throw ArgumentError.notNull('operation.operationsList');

    // TODO: why does the node return a list of originated contracts ?
    return operationsList!
        .operations.first.simulationResult?['metadata']['operation_result']['originated_contracts'].first;
  })();
}