Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
business
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
business
Commits
1b95066b
Commit
1b95066b
authored
Jun 03, 2022
by
bitsoko services
👷🏿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pools.py
parent
192b6138
Pipeline
#1103
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pools.py
chains/ALGO/pool/pools.py
+1
-1
No files found.
chains/ALGO/pool/pools.py
View file @
1b95066b
...
...
@@ -27,7 +27,7 @@ def add_liquidity(client, account, amount, aID1, aID2):
# Fetch the pool we will work with
pool
=
client
.
fetch_pool
(
ASA
,
BTC
)
# Get a quote for supplying liquidity 10 token and 500 satoshis
quote
=
pool
.
fetch_mint_quote
(
ASA
(
1_000_000
),
BTC
(
1_0
),
slippage
=
0.01
)
quote
=
pool
.
fetch_mint_quote
(
ASA
(
1_000_000
_0
),
BTC
(
1_0
),
slippage
=
0.01
)
print
(
quote
)
#return
excess
=
pool
.
fetch_excess_amounts
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment