Skip to content
Discussion options

You must be logged in to vote

to support coin and fa you have two options:

(1) create a coin to fungible asset wrapper, here's an example

(2) create separate entry functions for coin and fa, here's a rewards contract that stores both fungible assets and coins to later distribute as airdrops.

although, ^this doesn't store both coin and fa inside an object, it stores them in the admin account, similar to what you're doing. but that made sense for the requirement.

also, here's aave v3 implemented in move for reference :)

Replies: 1 comment 16 replies

Comment options

You must be logged in to vote
16 replies
@kshitijc1506
Comment options

@ajaythxkur
Comment options

@ajaythxkur
Comment options

@kshitijc1506
Comment options

Answer selected by ajaythxkur
@kshitijc1506
Comment options

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