mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
Add validator-vesting module to swagger (#1018)
* Add validator-vesting module to swagger * add swp circulating supply to swagger Co-authored-by: karzak <kjydavis3@gmail.com>
This commit is contained in:
parent
d70d4dd391
commit
6710e424ee
@ -45,6 +45,8 @@ tags:
|
|||||||
description: Kavadist module APIs
|
description: Kavadist module APIs
|
||||||
- name: Issuance
|
- name: Issuance
|
||||||
description: Issuance module APIs
|
description: Issuance module APIs
|
||||||
|
- name: Vesting
|
||||||
|
description: Validator vesting module APIs
|
||||||
- name: Misc
|
- name: Misc
|
||||||
description: Query app version
|
description: Query app version
|
||||||
schemes:
|
schemes:
|
||||||
@ -1593,6 +1595,139 @@ paths:
|
|||||||
$ref: "#/definitions/IncentiveParams"
|
$ref: "#/definitions/IncentiveParams"
|
||||||
500:
|
500:
|
||||||
description: Server internal error
|
description: Server internal error
|
||||||
|
/vesting/circulatingsupply:
|
||||||
|
get:
|
||||||
|
summary: Get the current circulating supply of KAVA
|
||||||
|
tags:
|
||||||
|
- Vesting
|
||||||
|
produces:
|
||||||
|
- application/json
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: KAVA circulating supply
|
||||||
|
properties:
|
||||||
|
height:
|
||||||
|
type: string
|
||||||
|
example: "100"
|
||||||
|
result:
|
||||||
|
type: string
|
||||||
|
example: "81443180"
|
||||||
|
500:
|
||||||
|
description: Server internal error
|
||||||
|
/vesting/totalsupply:
|
||||||
|
get:
|
||||||
|
summary: Get the total supply of KAVA
|
||||||
|
tags:
|
||||||
|
- Vesting
|
||||||
|
produces:
|
||||||
|
- application/json
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: KAVA total supply
|
||||||
|
properties:
|
||||||
|
height:
|
||||||
|
type: string
|
||||||
|
example: "100"
|
||||||
|
result:
|
||||||
|
type: string
|
||||||
|
example: "120000000"
|
||||||
|
500:
|
||||||
|
description: Server internal error
|
||||||
|
/vesting/circulatingsupplyhard:
|
||||||
|
get:
|
||||||
|
summary: Get the current circulating supply of HARD
|
||||||
|
tags:
|
||||||
|
- Vesting
|
||||||
|
produces:
|
||||||
|
- application/json
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: HARD circulating supply
|
||||||
|
properties:
|
||||||
|
height:
|
||||||
|
type: string
|
||||||
|
example: "100"
|
||||||
|
result:
|
||||||
|
type: string
|
||||||
|
example: "63750000"
|
||||||
|
500:
|
||||||
|
description: Server internal error
|
||||||
|
/vesting/totalsupplyhard:
|
||||||
|
get:
|
||||||
|
summary: Get the total supply of HARD
|
||||||
|
tags:
|
||||||
|
- Vesting
|
||||||
|
produces:
|
||||||
|
- application/json
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: HARD total supply
|
||||||
|
properties:
|
||||||
|
height:
|
||||||
|
type: string
|
||||||
|
example: "100"
|
||||||
|
result:
|
||||||
|
type: string
|
||||||
|
example: "200000000"
|
||||||
|
500:
|
||||||
|
description: Server internal error
|
||||||
|
/vesting/circulatingsupplyswp:
|
||||||
|
get:
|
||||||
|
summary: Get the current circulating supply of SWP
|
||||||
|
tags:
|
||||||
|
- Vesting
|
||||||
|
produces:
|
||||||
|
- application/json
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: SWP circulating supply
|
||||||
|
properties:
|
||||||
|
height:
|
||||||
|
type: string
|
||||||
|
example: "100"
|
||||||
|
result:
|
||||||
|
type: string
|
||||||
|
example: "63750000"
|
||||||
|
500:
|
||||||
|
description: Server internal error
|
||||||
|
/vesting/circulatingsupplyusdx:
|
||||||
|
get:
|
||||||
|
summary: Get the current circulating supply of USDX
|
||||||
|
tags:
|
||||||
|
- Vesting
|
||||||
|
produces:
|
||||||
|
- application/json
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: USDX circulating supply
|
||||||
|
properties:
|
||||||
|
height:
|
||||||
|
type: string
|
||||||
|
example: "100"
|
||||||
|
result:
|
||||||
|
type: string
|
||||||
|
example: "63750000"
|
||||||
|
500:
|
||||||
|
description: Server internal error
|
||||||
|
/vesting/totalsupplyusdx:
|
||||||
|
get:
|
||||||
|
summary: Get the total supply of USDX
|
||||||
|
tags:
|
||||||
|
- Vesting
|
||||||
|
produces:
|
||||||
|
- application/json
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: USDX total supply
|
||||||
|
properties:
|
||||||
|
height:
|
||||||
|
type: string
|
||||||
|
example: "100"
|
||||||
|
result:
|
||||||
|
type: string
|
||||||
|
example: "200000000"
|
||||||
|
500:
|
||||||
|
description: Server internal error
|
||||||
/committee/committees/{committee-id}/proposals:
|
/committee/committees/{committee-id}/proposals:
|
||||||
post:
|
post:
|
||||||
summary: Create a new proposal for a committee
|
summary: Create a new proposal for a committee
|
||||||
|
Loading…
Reference in New Issue
Block a user