public TezosWalletScanner(TezosAccount account, TezosAccount tezosAccount = null) { Account = account ?? throw new ArgumentNullException(nameof(account)); if (tezosAccount != null) { TezosAccount = tezosAccount; } }
public Fa2Account( string currency, string tokenContract, decimal tokenId, ICurrencies currencies, IHdWallet wallet, IAccountDataRepository dataRepository, TezosAccount tezosAccount) : base(currency, "FA2", tokenContract, tokenId, currencies, wallet, dataRepository, tezosAccount) { }
public TezosTokenAccount( string currency, string tokenType, string tokenContract, decimal tokenId, ICurrencies currencies, IHdWallet wallet, IAccountDataRepository dataRepository, TezosAccount tezosAccount) { Currency = currency ?? throw new ArgumentNullException(nameof(currency)); TokenType = tokenType ?? throw new ArgumentNullException(nameof(tokenType)); Currencies = currencies ?? throw new ArgumentNullException(nameof(currencies)); Wallet = wallet ?? throw new ArgumentNullException(nameof(wallet)); DataRepository = dataRepository ?? throw new ArgumentNullException(nameof(dataRepository)); _tokenContract = tokenContract ?? throw new ArgumentNullException(nameof(tokenContract)); _tokenId = tokenId; _tezosAccount = tezosAccount ?? throw new ArgumentNullException(nameof(tezosAccount)); ReloadBalances(); }
public TezosTokensScanner(TezosAccount tezosAccount) { _tezosAccount = tezosAccount ?? throw new ArgumentNullException(nameof(tezosAccount)); }
public TezosWalletScanner(TezosAccount account) { Account = account ?? throw new ArgumentNullException(nameof(account)); }