@@ -89,7 +89,7 @@ type Pool @entity {
89
89
spotPrice : BigDecimal !
90
90
consumePrice : BigDecimal ! # TODO: still need?
91
91
92
- // what is the point of the counts , we never used them => remove
92
+ # what is the point of the counts, we never used them => remove
93
93
joinCount : BigInt ! # liquidity has been added
94
94
exitCount : BigInt ! # liquidity has been removed
95
95
swapCount : BigInt !
@@ -192,6 +192,7 @@ type FixedRateExchange @entity {
192
192
baseToken : Token !
193
193
rate : BigDecimal !
194
194
active : Boolean !
195
+ suppy : Int !
195
196
updates : [FixedRateExchangeUpdate ! ] @derivedFrom (field : " exchangeId" )
196
197
swaps : [FixedRateExchangeSwap ! ] @derivedFrom (field : " exchangeId" )
197
198
}
@@ -220,13 +221,13 @@ type FixedRateExchangeSwap @entity {
220
221
}
221
222
222
223
type Dispenser @entity {
223
- id : ID ! # dispenser datatoken
224
- active : Boolean !
224
+ id : ID ! # it's the datatoken address
225
+ active : Boolean !
225
226
owner : User !
226
227
minterApproved : Boolean !
227
228
isTrueMinter : Boolean !
228
- maxTokens : BigDecimal !
229
- maxBalance : BigDecimal !
229
+ maxTokens : BigDecimal ! # max tokens that can be dispensed
230
+ maxBalance : BigDecimal ! # max balance of requester. If the balance is higher, the dispense is rejected
230
231
balance : BigDecimal !
231
232
datatoken : Datatoken !
232
233
dispenses : [DispenserTransaction ! ] @derivedFrom (field : " dispenserId" )
@@ -268,7 +269,7 @@ type PoolSnapshot @entity {
268
269
}
269
270
270
271
271
- // shouldn 't we move this to aquarius ?
272
+ # shouldn't we move this to aquarius?
272
273
type MetadataUpdate @entity {
273
274
id : ID ! # update tx + datatokenAddress
274
275
datatokenId : Datatoken !
0 commit comments