mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
graphql: indent
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
12ef276a7d
commit
4194da63d3
1 changed files with 34 additions and 34 deletions
|
|
@ -71,8 +71,8 @@ const schema string = `
|
||||||
transaction: Transaction!
|
transaction: Transaction!
|
||||||
}
|
}
|
||||||
|
|
||||||
#EIP-2718
|
# EIP-2718
|
||||||
type AccessTuple{
|
type AccessTuple {
|
||||||
address: Address!
|
address: Address!
|
||||||
storageKeys : [Bytes32!]!
|
storageKeys : [Bytes32!]!
|
||||||
}
|
}
|
||||||
|
|
@ -171,16 +171,16 @@ const schema string = `
|
||||||
# empty, results will not be filtered by address.
|
# empty, results will not be filtered by address.
|
||||||
addresses: [Address!]
|
addresses: [Address!]
|
||||||
# Topics list restricts matches to particular event topics. Each event has a list
|
# Topics list restricts matches to particular event topics. Each event has a list
|
||||||
# of topics. Topics matches a prefix of that list. An empty element array matches any
|
# of topics. Topics matches a prefix of that list. An empty element array matches any
|
||||||
# topic. Non-empty elements represent an alternative that matches any of the
|
# topic. Non-empty elements represent an alternative that matches any of the
|
||||||
# contained topics.
|
# contained topics.
|
||||||
#
|
#
|
||||||
# Examples:
|
# Examples:
|
||||||
# - [] or nil matches any topic list
|
# - [] or nil matches any topic list
|
||||||
# - [[A]] matches topic A in first position
|
# - [[A]] matches topic A in first position
|
||||||
# - [[], [B]] matches any topic in first position, B in second position
|
# - [[], [B]] matches any topic in first position, B in second position
|
||||||
# - [[A], [B]] matches topic A in first position, B in second position
|
# - [[A], [B]] matches topic A in first position, B in second position
|
||||||
# - [[A, B]], [C, D]] matches topic (A OR B) in first position, (C OR D) in second position
|
# - [[A, B]], [C, D]] matches topic (A OR B) in first position, (C OR D) in second position
|
||||||
topics: [[Bytes32!]!]
|
topics: [[Bytes32!]!]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -312,21 +312,21 @@ const schema string = `
|
||||||
# empty, results will not be filtered by address.
|
# empty, results will not be filtered by address.
|
||||||
addresses: [Address!]
|
addresses: [Address!]
|
||||||
# Topics list restricts matches to particular event topics. Each event has a list
|
# Topics list restricts matches to particular event topics. Each event has a list
|
||||||
# of topics. Topics matches a prefix of that list. An empty element array matches any
|
# of topics. Topics matches a prefix of that list. An empty element array matches any
|
||||||
# topic. Non-empty elements represent an alternative that matches any of the
|
# topic. Non-empty elements represent an alternative that matches any of the
|
||||||
# contained topics.
|
# contained topics.
|
||||||
#
|
#
|
||||||
# Examples:
|
# Examples:
|
||||||
# - [] or nil matches any topic list
|
# - [] or nil matches any topic list
|
||||||
# - [[A]] matches topic A in first position
|
# - [[A]] matches topic A in first position
|
||||||
# - [[], [B]] matches any topic in first position, B in second position
|
# - [[], [B]] matches any topic in first position, B in second position
|
||||||
# - [[A], [B]] matches topic A in first position, B in second position
|
# - [[A], [B]] matches topic A in first position, B in second position
|
||||||
# - [[A, B]], [C, D]] matches topic (A OR B) in first position, (C OR D) in second position
|
# - [[A, B]], [C, D]] matches topic (A OR B) in first position, (C OR D) in second position
|
||||||
topics: [[Bytes32!]!]
|
topics: [[Bytes32!]!]
|
||||||
}
|
}
|
||||||
|
|
||||||
# SyncState contains the current synchronisation state of the client.
|
# SyncState contains the current synchronisation state of the client.
|
||||||
type SyncState{
|
type SyncState {
|
||||||
# StartingBlock is the block number at which synchronisation started.
|
# StartingBlock is the block number at which synchronisation started.
|
||||||
startingBlock: Long!
|
startingBlock: Long!
|
||||||
# CurrentBlock is the point at which synchronisation has presently reached.
|
# CurrentBlock is the point at which synchronisation has presently reached.
|
||||||
|
|
@ -337,17 +337,17 @@ const schema string = `
|
||||||
|
|
||||||
# Pending represents the current pending state.
|
# Pending represents the current pending state.
|
||||||
type Pending {
|
type Pending {
|
||||||
# TransactionCount is the number of transactions in the pending state.
|
# TransactionCount is the number of transactions in the pending state.
|
||||||
transactionCount: Long!
|
transactionCount: Long!
|
||||||
# Transactions is a list of transactions in the current pending state.
|
# Transactions is a list of transactions in the current pending state.
|
||||||
transactions: [Transaction!]
|
transactions: [Transaction!]
|
||||||
# Account fetches an Ethereum account for the pending state.
|
# Account fetches an Ethereum account for the pending state.
|
||||||
account(address: Address!): Account!
|
account(address: Address!): Account!
|
||||||
# Call executes a local call operation for the pending state.
|
# Call executes a local call operation for the pending state.
|
||||||
call(data: CallData!): CallResult
|
call(data: CallData!): CallResult
|
||||||
# EstimateGas estimates the amount of gas that will be required for
|
# EstimateGas estimates the amount of gas that will be required for
|
||||||
# successful execution of a transaction for the pending state.
|
# successful execution of a transaction for the pending state.
|
||||||
estimateGas(data: CallData!): Long!
|
estimateGas(data: CallData!): Long!
|
||||||
}
|
}
|
||||||
|
|
||||||
type Query {
|
type Query {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue