public Issuance(INetworkAccount recipient, EthereumAmount ethToIssue, Token tokenToIssue, EthereumAmount sourceAccountBalance, Token sourceTokenBalance, string sourceName, NetworkContract fundsSourceContract, IContractInfo contractInfo) { this.Recipient = recipient ?? throw new ArgumentNullException(nameof(recipient)); this.EthToIssue = ethToIssue ?? throw new ArgumentNullException(nameof(ethToIssue)); this.TokenToIssue = tokenToIssue ?? throw new ArgumentNullException(nameof(tokenToIssue)); this.SourceAccountBalance = sourceAccountBalance ?? throw new ArgumentNullException(nameof(sourceAccountBalance)); this.SourceTokenBalance = sourceTokenBalance ?? throw new ArgumentNullException(nameof(sourceTokenBalance)); this.SourceName = sourceName ?? throw new ArgumentNullException(nameof(sourceName)); this.FundsSourceContract = fundsSourceContract ?? throw new ArgumentNullException(nameof(fundsSourceContract)); this._contractInfo = contractInfo ?? throw new ArgumentNullException(nameof(contractInfo)); }
/// <inheritdoc /> public abstract Task <BlockNumber?> FindSearchFromBlockAsync(NetworkContract contract);
/// <inheritdoc /> public override Task <BlockNumber?> FindSearchFromBlockAsync(NetworkContract contract) { return(this.GameRoundDataManager.GetEarliestBlockNumberForPendingCreationAsync(contract.Network)); }