Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP-4626: Preview functions #4705

Merged
merged 2 commits into from
Jan 22, 2022
Merged

EIP-4626: Preview functions #4705

merged 2 commits into from
Jan 22, 2022

Conversation

alcueca
Copy link
Contributor

@alcueca alcueca commented Jan 20, 2022

After an intense internal discussion, we have decided that 4 preview functions are needed, one for each of the 4 mutable functions. Significant use cases would either not be possible or would be not compliant if using a single exchangeRate function.

On the other hand, to allow easier integration of the simpler use cases, exchangeRate() has been kept as an alias for redeemPreview(10**decimals())

@alita-moore alita-moore reopened this Jan 20, 2022
@abcoathup
Copy link
Contributor

@alcueca it would be helpful to rename the PR to include the EIP so anyone looking at the PRs can see which EIP this refers to.

@alcueca alcueca changed the title Preview functions EIP-4626: Preview functions Jan 21, 2022
@alcueca alcueca marked this pull request as ready for review January 21, 2022 10:05
@transmissions11
Copy link
Contributor

@lightclient looks like auto merge got disabled for some reason, mind helping us out here? 😅

@transmissions11
Copy link
Contributor

alright nvm, i just dup'd it in #4710 instead 😅

@kodiakhq kodiakhq bot merged commit e6533e5 into ethereum:master Jan 22, 2022
PhABC pushed a commit to PhABC/EIPs that referenced this pull request Jan 25, 2022
* preview functions

* swap preview
PhABC pushed a commit to PhABC/EIPs that referenced this pull request Jan 25, 2022
* preview functions

* swap preview
eth-bot pushed a commit that referenced this pull request Jan 28, 2022
* Fix date

* Automatically merged updates to draft EIP(s) 3416 (#3446)


Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft, Review, or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing

* Update eip-2315.md (#3760)

* Update eip-2315.md

* Update eip-2315.md

* Update eip-4573.md (#4680)

* Update eip-4573.md

* formatting eqn

* Update eip-4573.md

* EIP-4626: Preview functions (#4705)

* preview functions

* swap preview

* Finalize ERC-1271

Well beyond the last-call deadline. Time to cement this and make it final.

Co-authored-by: hexzorro <80925920+hexzorro@users.noreply.github.com>
Co-authored-by: Greg Colvin <greg@colvin.org>
Co-authored-by: Alberto Cuesta Cañada <38806121+alcueca@users.noreply.github.com>
PowerStream3604 pushed a commit to PowerStream3604/EIPs that referenced this pull request May 19, 2022
* preview functions

* swap preview
PowerStream3604 pushed a commit to PowerStream3604/EIPs that referenced this pull request May 19, 2022
* Fix date

* Automatically merged updates to draft EIP(s) 3416 (ethereum#3446)


Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft, Review, or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing

* Update eip-2315.md (ethereum#3760)

* Update eip-2315.md

* Update eip-2315.md

* Update eip-4573.md (ethereum#4680)

* Update eip-4573.md

* formatting eqn

* Update eip-4573.md

* EIP-4626: Preview functions (ethereum#4705)

* preview functions

* swap preview

* Finalize ERC-1271

Well beyond the last-call deadline. Time to cement this and make it final.

Co-authored-by: hexzorro <80925920+hexzorro@users.noreply.github.com>
Co-authored-by: Greg Colvin <greg@colvin.org>
Co-authored-by: Alberto Cuesta Cañada <38806121+alcueca@users.noreply.github.com>
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.

4 participants