-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature][market] swap constant product #233
Changes from 1 commit
1272bd6
291c66f
e3fb247
4fc0c31
de9252e
5b2ce5e
fe42a73
564fce5
b5d0f13
037bb91
4ee0087
96c02c9
0d37d05
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,5 @@ ignore: | |
- "docs" | ||
- "*.md" | ||
- "*.rst" | ||
- "**/cli" | ||
- "**/rest" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1497,9 +1497,9 @@ paths: | |
$ref: "#/definitions/Coin" | ||
500: | ||
description: Internal Server Error | ||
/market/prev_day_issuance: | ||
/market/terra_pool: | ||
get: | ||
summary: Get prev day issuance | ||
summary: Get TERRA pool amount | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Get the current size of the Terra swap pool, denominated in usdr |
||
tags: | ||
- Market | ||
produces: | ||
|
@@ -1508,9 +1508,63 @@ paths: | |
200: | ||
description: OK | ||
schema: | ||
type: array | ||
items: | ||
$ref: "#/definitions/Coin" | ||
type: number | ||
format: float | ||
example: "10000000.00" | ||
400: | ||
description: Bad Request | ||
500: | ||
description: Internal Server Error | ||
/market/luna_pool: | ||
get: | ||
summary: Get LUNA pool amount | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Get the current size of the Luna swap pool, denominated in uluna |
||
tags: | ||
- Market | ||
produces: | ||
- application/json | ||
responses: | ||
200: | ||
description: OK | ||
schema: | ||
type: number | ||
format: float | ||
example: "10000000.00" | ||
400: | ||
description: Bad Request | ||
500: | ||
description: Internal Server Error | ||
/market/base_pool: | ||
get: | ||
summary: Get Base(equilibrium) pool amount | ||
tags: | ||
- Market | ||
produces: | ||
- application/json | ||
responses: | ||
200: | ||
description: OK | ||
schema: | ||
type: number | ||
format: float | ||
example: "10000000.00" | ||
400: | ||
description: Bad Request | ||
500: | ||
description: Internal Server Error | ||
/market/last_update_height: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. last_cp_update_height |
||
get: | ||
summary: Get last pool update height | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Get the last swap pool reset height |
||
tags: | ||
- Market | ||
produces: | ||
- application/json | ||
responses: | ||
200: | ||
description: OK | ||
schema: | ||
type: number | ||
format: integer | ||
example: "1123" | ||
400: | ||
description: Bad Request | ||
500: | ||
|
@@ -2958,4 +3012,5 @@ definitions: | |
gas: | ||
type: number | ||
format: integer | ||
example: 10000 | ||
example: "10000" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
terra_pool --> terra_swap_pool