mrgnlabs / marginfi-v2

Apache License 2.0
147 stars 61 forks source link

Add lending_pool_add_bank2 ix #156

Closed jkbpvsc closed 6 months ago

jkbpvsc commented 6 months ago

marginfi_group module

jkbpvsc commented 6 months ago

@exdx feel free to work on this PR

exdx commented 6 months ago

The commit history is a bit of a mess due to the gpg key setup not working correctly on my new x86 dev box. Will fix.

jkbpvsc commented 6 months ago

LGTM Waiting for a stamp from @losman0s then we can merge and deploy.

losman0s commented 6 months ago

lgtm

I guess using the mint in the PDA derivation is not technically needed, since we're anyway adding the differentiator (seed) to avoid losing the ability to create several banks per mint. However it's not problematic either, and we can choose "logical" seeds for the deriv that way.