public Task <bool> HasRoleQueryAsync(byte[] role, string account, BlockParameter blockParameter = null)
        {
            var hasRoleFunction = new HasRoleFunction();

            hasRoleFunction.Role    = role;
            hasRoleFunction.Account = account;

            return(ContractHandler.QueryAsync <HasRoleFunction, bool>(hasRoleFunction, blockParameter));
        }
 public Task <bool> HasRoleQueryAsync(HasRoleFunction hasRoleFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <HasRoleFunction, bool>(hasRoleFunction, blockParameter));
 }