19078
19078
}
19079
19079
},
19080
19080
"accumulated_price": {
19081
+ "title": "accumulated price of the token",
19081
19082
"type": "object",
19082
19083
"properties": {
19083
19084
"price": {
@@ -19093,13 +19094,17 @@
19093
19094
"type": "string",
19094
19095
"title": "timestamp when the price is corresponded"
19095
19096
},
19096
- "round_id ": {
19097
+ "last_round_id ": {
19097
19098
"type": "string",
19098
19099
"format": "uint64",
19099
19100
"title": "roundid of the price if the source is deteministic"
19101
+ },
19102
+ "start_round_id": {
19103
+ "type": "string",
19104
+ "format": "uint64",
19105
+ "title": "start_round_id is used to indicate the round id of the first price in this accumulator"
19100
19106
}
19101
- },
19102
- "title": "price with its specified timestamp and roundid(if from deteministic source)"
19107
+ }
19103
19108
}
19104
19109
}
19105
19110
}
43989
43994
},
43990
43995
"description": "Params defines the parameters for the module."
43991
43996
},
43997
+ "imuachain.oracle.v1.PriceAcc": {
43998
+ "type": "object",
43999
+ "properties": {
44000
+ "price": {
44001
+ "type": "string",
44002
+ "title": "price"
44003
+ },
44004
+ "decimal": {
44005
+ "type": "integer",
44006
+ "format": "int32",
44007
+ "title": "decimal of the corresponding price"
44008
+ },
44009
+ "timestamp": {
44010
+ "type": "string",
44011
+ "title": "timestamp when the price is corresponded"
44012
+ },
44013
+ "last_round_id": {
44014
+ "type": "string",
44015
+ "format": "uint64",
44016
+ "title": "roundid of the price if the source is deteministic"
44017
+ },
44018
+ "start_round_id": {
44019
+ "type": "string",
44020
+ "format": "uint64",
44021
+ "title": "start_round_id is used to indicate the round id of the first price in this accumulator"
44022
+ }
44023
+ },
44024
+ "title": "PriceAcc is used for price accumulator, which is used to store the latest accumulated price"
44025
+ },
43992
44026
"imuachain.oracle.v1.PriceEpoch": {
43993
44027
"type": "object",
43994
44028
"properties": {
44178
44212
}
44179
44213
},
44180
44214
"accumulated_price": {
44215
+ "title": "accumulated price of the token",
44181
44216
"type": "object",
44182
44217
"properties": {
44183
44218
"price": {
@@ -44193,13 +44228,17 @@
44193
44228
"type": "string",
44194
44229
"title": "timestamp when the price is corresponded"
44195
44230
},
44196
- "round_id ": {
44231
+ "last_round_id ": {
44197
44232
"type": "string",
44198
44233
"format": "uint64",
44199
44234
"title": "roundid of the price if the source is deteministic"
44235
+ },
44236
+ "start_round_id": {
44237
+ "type": "string",
44238
+ "format": "uint64",
44239
+ "title": "start_round_id is used to indicate the round id of the first price in this accumulator"
44200
44240
}
44201
- },
44202
- "title": "price with its specified timestamp and roundid(if from deteministic source)"
44241
+ }
44203
44242
}
44204
44243
},
44205
44244
"title": "prices of all rounds of a specific token"
44743
44782
}
44744
44783
},
44745
44784
"accumulated_price": {
44785
+ "title": "accumulated price of the token",
44746
44786
"type": "object",
44747
44787
"properties": {
44748
44788
"price": {
@@ -44758,13 +44798,17 @@
44758
44798
"type": "string",
44759
44799
"title": "timestamp when the price is corresponded"
44760
44800
},
44761
- "round_id ": {
44801
+ "last_round_id ": {
44762
44802
"type": "string",
44763
44803
"format": "uint64",
44764
44804
"title": "roundid of the price if the source is deteministic"
44805
+ },
44806
+ "start_round_id": {
44807
+ "type": "string",
44808
+ "format": "uint64",
44809
+ "title": "start_round_id is used to indicate the round id of the first price in this accumulator"
44765
44810
}
44766
- },
44767
- "title": "price with its specified timestamp and roundid(if from deteministic source)"
44811
+ }
44768
44812
}
44769
44813
}
44770
44814
}
0 commit comments