Skip to content
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

Fix/remove epoch 8 dex chain #362

Merged
merged 5 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 0 additions & 160 deletions docs/swagger/amm-routes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,163 +59,3 @@ paths:
'200':
schema:
$ref: '#/definitions/EstimateGasResponse'
/amm/perp/market-prices:
post:
tags:
- 'amm'
summary: 'Get market prices for a quote base pair on perp curie'
operationId: 'perpPrices'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/PerpPriceRequest'
responses:
'200':
schema:
$ref: '#/definitions/PerpPriceResponse'
/amm/perp/market-status:
post:
tags:
- 'amm'
summary: 'Get the status for a quote base pair market'
operationId: 'marketStatus'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/PerpPriceRequest'
responses:
'200':
schema:
$ref: '#/definitions/PerpStatusResponse'
/amm/perp/pairs:
post:
tags:
- 'amm'
summary: 'Get a list of all available pairs on perp curie'
operationId: 'perpPairs'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/PerpPairsRequest'
responses:
'200':
schema:
$ref: '#/definitions/PerpPairsResponse'
/amm/perp/position:
post:
tags:
- 'amm'
summary: 'Get poision data for a quote base pair'
operationId: 'perpPosition'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/PerpPositionRequest'
responses:
'200':
schema:
$ref: '#/definitions/PerpPositionResponse'
/amm/perp/balance:
post:
tags:
- 'amm'
summary: 'Get account value'
operationId: 'perpBalance'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/PerpBalanceRequest'
responses:
'200':
schema:
$ref: '#/definitions/PerpBalanceResponse'
/amm/perp/open:
post:
tags:
- 'amm'
summary: 'Open/increase position on specified market'
operationId: 'perpPositionOpen'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/PerpOpenRequest'
responses:
'200':
schema:
$ref: '#/definitions/PerpOpenResponse'
/amm/perp/close:
post:
tags:
- 'amm'
summary: 'Close postion on specified market'
operationId: 'perpPositionClose'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/PerpCloseRequest'
responses:
'200':
schema:
$ref: '#/definitions/PerpCloseResponse'
/amm/perp/estimateGas:
post:
tags:
- 'amm'
summary: 'Estimate the total gas costs for sending a perp order'
operationId: 'estimateGas'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/NetworkSelectionRequest'
responses:
'200':
schema:
$ref: '#/definitions/EstimateGasResponse'
Loading
Loading