コード例 #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));
        }
コード例 #2
0
 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);
 }
コード例 #3
0
        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));
        }
コード例 #4
0
 public Task <bool> IsApprovedForAllQueryAsync(IsApprovedForAllFunction isApprovedForAllFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <IsApprovedForAllFunction, bool>(isApprovedForAllFunction, blockParameter));
 }