mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
add orders to token
This commit is contained in:
parent
49f46806f4
commit
4d4f5670ce
@ -35,6 +35,8 @@ type Token @entity {
|
|||||||
"number of orders executed for this datatoken"
|
"number of orders executed for this datatoken"
|
||||||
orderCount: BigInt!
|
orderCount: BigInt!
|
||||||
|
|
||||||
|
"orders created with the datatoken, only available for datatokens"
|
||||||
|
orders: [Order!] @derivedFrom(field:"datatoken")
|
||||||
|
|
||||||
"fixed rate exchanges, only available for datatokens"
|
"fixed rate exchanges, only available for datatokens"
|
||||||
fixedRateExchanges: [FixedRateExchange!] @derivedFrom(field:"datatoken")
|
fixedRateExchanges: [FixedRateExchange!] @derivedFrom(field:"datatoken")
|
||||||
|
Loading…
Reference in New Issue
Block a user