Пример #1
0
        public Task <bool> IsApprovedForAllQueryAsync(string Owner, string Operator, BlockParameter BlockParameter = null)
        {
            var IsApprovedForAllFunction = new IsApprovedForAllFunction {
                Owner = Owner, Operator = Operator
            };

            return(ContractHandler.QueryAsync <IsApprovedForAllFunction, bool>(IsApprovedForAllFunction, BlockParameter));
        }
 public Task<bool> IsApprovedForAllQueryAsync(string owner, string operatorAddress, BlockParameter blockParameter = null)
 {
     var isApprovedForAllFunction = new IsApprovedForAllFunction();
         isApprovedForAllFunction.Owner = owner;
         isApprovedForAllFunction.Operator = operatorAddress;
     
     return ContractHandler.QueryAsync<IsApprovedForAllFunction, bool>(isApprovedForAllFunction, blockParameter);
 }
        public Task <bool> IsApprovedForAllQueryAsync(string account, string @operator, BlockParameter blockParameter = null)
        {
            var isApprovedForAllFunction = new IsApprovedForAllFunction();

            isApprovedForAllFunction.Account  = account;
            isApprovedForAllFunction.Operator = @operator;

            return(ContractHandler.QueryAsync <IsApprovedForAllFunction, bool>(isApprovedForAllFunction, blockParameter));
        }
 public Task <bool> IsApprovedForAllQueryAsync(IsApprovedForAllFunction isApprovedForAllFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <IsApprovedForAllFunction, bool>(isApprovedForAllFunction, blockParameter));
 }