Skip to content
Discussion options

You must be logged in to vote

Explanation of the First Three Questions

This is a weird one... I'm not entirely sure what it means by "We don't enable automatic primary store creation". We still use primary stores for LP tokens in the module. LP tokens will be stored in liqudity provider's primary stores, based on the current implementation in this example.

As for "because we need LPs to call into this module for transfers so the fees accounting can be updated correctly", you can refer to this part of the code. Basically, we want liquidity providers to call directly into the liquidity_pool.move module for transfers, instead of calling into pfs::transfer or fa::transfer. This is because in our transfer function, we defi…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lumos42
Comment options

@kshitijc1506
Comment options

@lumos42
Comment options

Answer selected by lumos42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants