public TronClient(ILogger <TronClient> logger, IOptions <TronNetOptions> options, IGrpcChannelClient channelClient, IWalletClient walletClient) { _logger = logger; _options = options; _channelClient = channelClient; _walletClient = walletClient; }
public TransactionClient(IWalletClient walletClient, IOptions <TronNetOptions> options) { _walletClient = walletClient; _options = options; }
public WalletService(IWalletClient walletClient) { _walletClient = walletClient; }
public TRC20ContractClient(ILogger <TRC20ContractClient> logger, IWalletClient walletClient, ITransactionClient transactionClient) { _logger = logger; _walletClient = walletClient; _transactionClient = transactionClient; }
public TRC20ContractClientTest() { _record = TronTestServiceExtension.GetTestRecord(); _wallet = _record.ServiceProvider.GetService <IWalletClient>(); _contractClientFactory = _record.ServiceProvider.GetService <IContractClientFactory>(); }