Skip to content

Commit

Permalink
Merge pull request #116 from hummingbot/staging
Browse files Browse the repository at this point in the history
gateway sync / gateway staging -> main for Hummingbot version 1.16.0
  • Loading branch information
nikspz authored May 29, 2023
2 parents aee94f0 + 2d6e3c7 commit 80f7ea8
Show file tree
Hide file tree
Showing 75 changed files with 5,893 additions and 2,264 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,30 @@ jobs:
./node_modules/.bin/jest --listTests --findRelatedTests ${DIFF_FILES//$'\n'/ }
NODE_OPTIONS=--max-old-space-size=10240 node ./node_modules/.bin/jest --runInBand --coverage --findRelatedTests ${DIFF_FILES//$'\n'/ }
# git diff origin/$GITHUB_BASE_REF | yarn diff-test-coverage -c ./coverage/lcov.info -t lcov -b 50 -l 60

docker_build_and_push:
runs-on: ubuntu-latest
needs: [build_gateway]
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: hummingbot/gateway:latest
platforms: linux/amd64,linux/arm64


73 changes: 73 additions & 0 deletions docs/swagger/algorand-routes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
paths:
/algorand/poll:
post:
tags:
- 'algorand'
summary: 'Poll the status of a transaction'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/AlgorandPollRequest'
responses:
'200':
schema:
$ref: '#/definitions/AlgorandPollResponse'
/algorand/balances:
post:
tags:
- 'algorand'
summary: 'Get the balances of an account'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/BalancesRequest'
responses:
'200':
schema:
$ref: '#/definitions/BalancesResponse'
/algorand/assets:
get:
tags:
- 'algorand'
summary: 'Get assets info'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'query'
name: 'query'
required: true
schema:
$ref: '#/definitions/AlgorandAssetsRequest'
/algorand/opt-in:
post:
tags:
- 'algorand'
summary: 'Opt into an asset'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/AlgorandOptInRequest'
responses:
'200':
schema:
$ref: '#/definitions/AlgorandOptInResponse'
Loading

0 comments on commit 80f7ea8

Please sign in to comment.