Skip to content

Conversation

@gulcinuras
Copy link
Contributor

  • Use Algo-USDC lending pool as example
  • In order to get USDC (if the account doesn't have enough asset balance), use swap function with Algo
  • Since ALGO to USDC swap was only in v1_1 pool, include v1_1 swap to the example function

Note:

  • We can also parse the lending pool info from global state, but I think for this scope getting the fAsset_ids and the application_ids from global_state is not really necessary

Related Ticket:

…dity transactions

- Use Algo-USDC lending pool as example
- In order to get USDC (if the account doesn't have enough asset balance), use swap function with Algo
- Since ALGO to USDC swap was only in v1_1 pool, include v1_1 swap to the example function
Note:
- We can also parse the lending pool info from global state, but I think for this scope getting the fAsset_ids and the application_ids from global_state is not really necessary
@gulcinuras gulcinuras requested review from Anlerkan and tatata96 March 3, 2024 20:04
@gulcinuras gulcinuras self-assigned this Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants