topl_common 2.0.3 copy "topl_common: ^2.0.3" to clipboard
topl_common: ^2.0.3 copied to clipboard

retracted

Topl Common and Proto definitions

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add topl_common

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  topl_common: ^2.0.3

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:topl_common/common.dart';
import 'package:topl_common/genus/constants.dart';
import 'package:topl_common/genus/data_extensions.dart';
import 'package:topl_common/genus/grpc_channel_settings.dart';
import 'package:topl_common/genus/native_grpc_channel.dart';
import 'package:topl_common/genus/request_utils.dart';
import 'package:topl_common/genus/services/node_grpc.dart';
import 'package:topl_common/genus/services/transaction_grpc.dart';
import 'package:topl_common/genus/web_grpc_channel.dart';
import 'package:topl_common/proto/brambl/models/address.pb.dart';
import 'package:topl_common/proto/brambl/models/address.pbenum.dart';
import 'package:topl_common/proto/brambl/models/address.pbjson.dart';
import 'package:topl_common/proto/brambl/models/box/asset.pb.dart';
import 'package:topl_common/proto/brambl/models/box/asset.pbenum.dart';
import 'package:topl_common/proto/brambl/models/box/asset.pbjson.dart';
import 'package:topl_common/proto/brambl/models/box/assets_statements.pb.dart';
import 'package:topl_common/proto/brambl/models/box/assets_statements.pbenum.dart';
import 'package:topl_common/proto/brambl/models/box/assets_statements.pbjson.dart';
import 'package:topl_common/proto/brambl/models/box/attestation.pb.dart';
import 'package:topl_common/proto/brambl/models/box/attestation.pbenum.dart';
import 'package:topl_common/proto/brambl/models/box/attestation.pbjson.dart';
import 'package:topl_common/proto/brambl/models/box/box.pb.dart';
import 'package:topl_common/proto/brambl/models/box/box.pbenum.dart';
import 'package:topl_common/proto/brambl/models/box/box.pbjson.dart';
import 'package:topl_common/proto/brambl/models/box/challenge.pb.dart';
import 'package:topl_common/proto/brambl/models/box/challenge.pbenum.dart';
import 'package:topl_common/proto/brambl/models/box/challenge.pbjson.dart';
import 'package:topl_common/proto/brambl/models/box/lock.pb.dart';
import 'package:topl_common/proto/brambl/models/box/lock.pbenum.dart';
import 'package:topl_common/proto/brambl/models/box/lock.pbjson.dart';
import 'package:topl_common/proto/brambl/models/box/value.pb.dart';
import 'package:topl_common/proto/brambl/models/box/value.pbenum.dart';
import 'package:topl_common/proto/brambl/models/box/value.pbjson.dart';
import 'package:topl_common/proto/brambl/models/common.pb.dart';
import 'package:topl_common/proto/brambl/models/common.pbenum.dart';
import 'package:topl_common/proto/brambl/models/common.pbjson.dart';
import 'package:topl_common/proto/brambl/models/datum.pb.dart';
import 'package:topl_common/proto/brambl/models/datum.pbenum.dart';
import 'package:topl_common/proto/brambl/models/datum.pbjson.dart';
import 'package:topl_common/proto/brambl/models/event.pb.dart';
import 'package:topl_common/proto/brambl/models/event.pbenum.dart';
import 'package:topl_common/proto/brambl/models/event.pbjson.dart';
import 'package:topl_common/proto/brambl/models/evidence.pb.dart';
import 'package:topl_common/proto/brambl/models/evidence.pbenum.dart';
import 'package:topl_common/proto/brambl/models/evidence.pbjson.dart';
import 'package:topl_common/proto/brambl/models/identifier.pb.dart';
import 'package:topl_common/proto/brambl/models/identifier.pbenum.dart';
import 'package:topl_common/proto/brambl/models/identifier.pbjson.dart';
import 'package:topl_common/proto/brambl/models/indices.pb.dart';
import 'package:topl_common/proto/brambl/models/indices.pbenum.dart';
import 'package:topl_common/proto/brambl/models/indices.pbjson.dart';
import 'package:topl_common/proto/brambl/models/transaction/io_transaction.pb.dart';
import 'package:topl_common/proto/brambl/models/transaction/io_transaction.pbenum.dart';
import 'package:topl_common/proto/brambl/models/transaction/io_transaction.pbjson.dart';
import 'package:topl_common/proto/brambl/models/transaction/schedule.pb.dart';
import 'package:topl_common/proto/brambl/models/transaction/schedule.pbenum.dart';
import 'package:topl_common/proto/brambl/models/transaction/schedule.pbjson.dart';
import 'package:topl_common/proto/brambl/models/transaction/spent_transaction_output.pb.dart';
import 'package:topl_common/proto/brambl/models/transaction/spent_transaction_output.pbenum.dart';
import 'package:topl_common/proto/brambl/models/transaction/spent_transaction_output.pbjson.dart';
import 'package:topl_common/proto/brambl/models/transaction/unspent_transaction_output.pb.dart';
import 'package:topl_common/proto/brambl/models/transaction/unspent_transaction_output.pbenum.dart';
import 'package:topl_common/proto/brambl/models/transaction/unspent_transaction_output.pbjson.dart';
import 'package:topl_common/proto/consensus/models/block_header.pb.dart';
import 'package:topl_common/proto/consensus/models/block_header.pbenum.dart';
import 'package:topl_common/proto/consensus/models/block_header.pbjson.dart';
import 'package:topl_common/proto/consensus/models/block_id.pb.dart';
import 'package:topl_common/proto/consensus/models/block_id.pbenum.dart';
import 'package:topl_common/proto/consensus/models/block_id.pbjson.dart';
import 'package:topl_common/proto/consensus/models/eligibility_certificate.pb.dart';
import 'package:topl_common/proto/consensus/models/eligibility_certificate.pbenum.dart';
import 'package:topl_common/proto/consensus/models/eligibility_certificate.pbjson.dart';
import 'package:topl_common/proto/consensus/models/operational_certificate.pb.dart';
import 'package:topl_common/proto/consensus/models/operational_certificate.pbenum.dart';
import 'package:topl_common/proto/consensus/models/operational_certificate.pbjson.dart';
import 'package:topl_common/proto/consensus/models/protocol_version.pb.dart';
import 'package:topl_common/proto/consensus/models/protocol_version.pbenum.dart';
import 'package:topl_common/proto/consensus/models/protocol_version.pbjson.dart';
import 'package:topl_common/proto/consensus/models/slot_data.pb.dart';
import 'package:topl_common/proto/consensus/models/slot_data.pbenum.dart';
import 'package:topl_common/proto/consensus/models/slot_data.pbjson.dart';
import 'package:topl_common/proto/consensus/models/staking.pb.dart';
import 'package:topl_common/proto/consensus/models/staking.pbenum.dart';
import 'package:topl_common/proto/consensus/models/staking.pbjson.dart';
import 'package:topl_common/proto/genus/genus_models.pb.dart';
import 'package:topl_common/proto/genus/genus_models.pbenum.dart';
import 'package:topl_common/proto/genus/genus_models.pbjson.dart';
import 'package:topl_common/proto/genus/genus_rpc.pb.dart';
import 'package:topl_common/proto/genus/genus_rpc.pbenum.dart';
import 'package:topl_common/proto/genus/genus_rpc.pbgrpc.dart';
import 'package:topl_common/proto/genus/genus_rpc.pbjson.dart';
import 'package:topl_common/proto/google/models/health_models.pb.dart';
import 'package:topl_common/proto/google/models/health_models.pbenum.dart';
import 'package:topl_common/proto/google/models/health_models.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/any.pb.dart';
import 'package:topl_common/proto/google/protobuf/any.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/any.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/api.pb.dart';
import 'package:topl_common/proto/google/protobuf/api.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/api.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/compiler/plugin.pb.dart';
import 'package:topl_common/proto/google/protobuf/compiler/plugin.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/compiler/plugin.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/descriptor.pb.dart';
import 'package:topl_common/proto/google/protobuf/descriptor.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/descriptor.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/duration.pb.dart';
import 'package:topl_common/proto/google/protobuf/duration.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/duration.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/empty.pb.dart';
import 'package:topl_common/proto/google/protobuf/empty.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/empty.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/field_mask.pb.dart';
import 'package:topl_common/proto/google/protobuf/field_mask.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/field_mask.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/source_context.pb.dart';
import 'package:topl_common/proto/google/protobuf/source_context.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/source_context.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/struct.pb.dart';
import 'package:topl_common/proto/google/protobuf/struct.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/struct.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/timestamp.pb.dart';
import 'package:topl_common/proto/google/protobuf/timestamp.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/timestamp.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/type.pb.dart';
import 'package:topl_common/proto/google/protobuf/type.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/type.pbjson.dart';
import 'package:topl_common/proto/google/protobuf/wrappers.pb.dart';
import 'package:topl_common/proto/google/protobuf/wrappers.pbenum.dart';
import 'package:topl_common/proto/google/protobuf/wrappers.pbjson.dart';
import 'package:topl_common/proto/google/services/health_rpc.pb.dart';
import 'package:topl_common/proto/google/services/health_rpc.pbenum.dart';
import 'package:topl_common/proto/google/services/health_rpc.pbgrpc.dart';
import 'package:topl_common/proto/google/services/health_rpc.pbjson.dart';
import 'package:topl_common/proto/node/models/block.pb.dart';
import 'package:topl_common/proto/node/models/block.pbenum.dart';
import 'package:topl_common/proto/node/models/block.pbjson.dart';
import 'package:topl_common/proto/node/models/node_config.pb.dart';
import 'package:topl_common/proto/node/models/node_config.pbenum.dart';
import 'package:topl_common/proto/node/models/node_config.pbjson.dart';
import 'package:topl_common/proto/node/models/node_epochData.pb.dart';
import 'package:topl_common/proto/node/models/node_epochData.pbenum.dart';
import 'package:topl_common/proto/node/models/node_epochData.pbjson.dart';
import 'package:topl_common/proto/node/models/p2p.pb.dart';
import 'package:topl_common/proto/node/models/p2p.pbenum.dart';
import 'package:topl_common/proto/node/models/p2p.pbjson.dart';
import 'package:topl_common/proto/node/models/ratio.pb.dart';
import 'package:topl_common/proto/node/models/ratio.pbenum.dart';
import 'package:topl_common/proto/node/models/ratio.pbjson.dart';
import 'package:topl_common/proto/node/services/bifrost_rpc.pb.dart';
import 'package:topl_common/proto/node/services/bifrost_rpc.pbenum.dart';
import 'package:topl_common/proto/node/services/bifrost_rpc.pbgrpc.dart';
import 'package:topl_common/proto/node/services/bifrost_rpc.pbjson.dart';
import 'package:topl_common/proto/quivr/models/proof.pb.dart';
import 'package:topl_common/proto/quivr/models/proof.pbenum.dart';
import 'package:topl_common/proto/quivr/models/proof.pbjson.dart';
import 'package:topl_common/proto/quivr/models/proposition.pb.dart';
import 'package:topl_common/proto/quivr/models/proposition.pbenum.dart';
import 'package:topl_common/proto/quivr/models/proposition.pbjson.dart';
import 'package:topl_common/proto/quivr/models/shared.pb.dart';
import 'package:topl_common/proto/quivr/models/shared.pbenum.dart';
import 'package:topl_common/proto/quivr/models/shared.pbjson.dart';