Skip to content

Seperate v2 event parsing#85

Merged
Ryang-21 merged 11 commits intomainfrom
seperate-v2-events
Apr 11, 2025
Merged

Seperate v2 event parsing#85
Ryang-21 merged 11 commits intomainfrom
seperate-v2-events

Conversation

@Ryang-21
Copy link
Copy Markdown
Contributor

@Ryang-21 Ryang-21 commented Apr 3, 2025

No description provided.

@Ryang-21 Ryang-21 force-pushed the seperate-v2-events branch from 358d042 to 8156598 Compare April 3, 2025 08:05
mootz12
mootz12 previously approved these changes Apr 7, 2025
@Ryang-21 Ryang-21 requested a review from mootz12 April 9, 2025 16:01
Comment thread src/backstop/backstop_contract.ts Outdated
Comment thread src/pool/pool_contract.ts Outdated
Comment thread src/pool/pool_contract.ts Outdated
*
* @param res_emission_metadata - A vector of ReserveEmissionMetadata to update metadata to.
*
* @throws Will throw an error if the caller is not the admin or if the sum of ReserveEmissionMetadata shares is greater than 1.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not true for V2.

Better to omit IMO since not a lot of new pools will be being created in v1 anymore

Comment thread src/pool/pool_contract.ts
Comment thread src/pool/pool_contract.ts
* @param contractArgs.contract - The contract that will receive the flash loan callback.
* @param contractArgs.asset - The asset to be borrowed in the flash loan.
* @param contractArgs.amount - The amount to be borrowed in the flash loan.
*
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flash loan args are missing

requests: Array<Request>

from contract:

    fn flash_loan(
        e: Env,
        from: Address,
        flash_loan: FlashLoan,
        requests: Vec<Request>,
    ) -> Positions;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for adding these - was a big testing gap

@Ryang-21 Ryang-21 merged commit 47ad334 into main Apr 11, 2025
1 check passed
@Ryang-21 Ryang-21 deleted the seperate-v2-events branch April 11, 2025 19:43
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