Skip to content

[Unstoppable] TotalSupply #28

Discussion options

You must be logged in to vote

@MartinTochon

That's a fair question. I didn't understand this either initially.

ERC4626 is the standard for tokenized vaults. What's a tokenized vault ? Think about an ETH lending pool. People can deposit ETH (or rather WETH in our case) into the pool for other people to borrow (asset), and get an ERC20 that represents their shares (the proportion of the total lended eth in that pool) that can at any time be exchanged back for their original ETH. (the incentive is that they accrue yield based on their shares but this isn't relevant here)

The constructor of ERC4626 therefore takes 3 arguments :

  • An ERC20 : the underlying asset token (the thing that has value)
  • A name and a symbol to create…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MartinTochon
Comment options

@Koowah
Comment options

Answer selected by tinchoabbate
@MartinTochon
Comment options

@Koowah
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