You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows Farmers to delegate their ERC-20 farm balance to other contracts to call transfer on their behalf and add EIP-2612 support to ERC-20 farm balance.
Motivation
Currently, the only way to transfer ERC-20 farm balance is by calling transferToken() on the Farmer's account and there are no ways for farmers to delegate it to other contracts. Adding an approval system will allow other protocols to build on top of Beanstalk and use transformTokenFrom()
Adding permit implementation to ERC-20 farm balance will allow the Farmer's to delegate their farm balance to other contract in a single transaction which remove the need of submitting a separate transaction and reduce fiction when interacting with Beanstalk.
Abstract
Allows Farmers to delegate their ERC-20 farm balance to other contracts to call transfer on their behalf and add EIP-2612 support to ERC-20 farm balance.
Motivation
Currently, the only way to transfer ERC-20 farm balance is by calling
transferToken()
on the Farmer's account and there are no ways for farmers to delegate it to other contracts. Adding an approval system will allow other protocols to build on top of Beanstalk and usetransformTokenFrom()
Adding permit implementation to ERC-20 farm balance will allow the Farmer's to delegate their farm balance to other contract in a single transaction which remove the need of submitting a separate transaction and reduce fiction when interacting with Beanstalk.
Specification
Event
TokenFacet
LibTokenApprove
LibTokenPermit
LibTransfer
Execution
TokenFacet
LibTokenPermit
libraryLibTokenApprove
libraryLibTransfer
to usesender
parameter instead ofmsg.sender
The text was updated successfully, but these errors were encountered: