Skip to content

Commit

Permalink
Merge pull request #365 from hummingbot/staging
Browse files Browse the repository at this point in the history
sync / staging to master 2.1.0
  • Loading branch information
rapcmia authored Oct 28, 2024
2 parents 8153070 + e697923 commit 240b51c
Show file tree
Hide file tree
Showing 146 changed files with 3,434 additions and 67,857 deletions.
1 change: 1 addition & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
cp -rf src/templates/* conf
sed -i 's|/home/gateway/conf/lists/|conf/lists/|g' ./conf/*.yml
sed -i 's/https:\/\/rpc.ankr.com\/eth_goerli/http:\/\/127.0.0.1:8545\//g' ./conf/ethereum.yml
sed -i 's/https:\/\/etc.rivet.link/http:\/\/127.0.0.1:8545\//g' ./conf/ethereum-classic.yml
- name: Run unit test coverage
if: github.event_name == 'pull_request'
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ There are a number of ways to contribute to gateway.

- The format of configuration files are dictated by [src/services/config-manager-v2.ts](./src/services/config-manager-v2.ts) and the corresponding schema files in [src/services/schema](./src/services/schema).

- If you want to turn off `https`, set `unsafeDevModeWithHTTP` to `true` in [conf/server.yml](./conf/server.yml).

- For each supported chain, token lists that translate address to symbols for each chain are stored in `/conf/lists`. You can add tokens here to make them available to Gateway.


Expand Down
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

0 comments on commit 240b51c

Please sign in to comment.