v2-core
v2-core copied to clipboard
Create a Sablier-powered ERC-20 contract
As discussed in https://github.com/sablier-labs/company-discussions/discussions/62#discussioncomment-10509265.
@smol-ninja's idea:
function _mintwithVesting(address account, uint256 value, params) internal {
_mint(address(this), value);
_approve(LOCKUP_LINEAR, value);
// few parameters will be hard coded
LOCKUP_LINEAR.createWithDurations(params);
}
Once this is implemented, an adjacent task would be to attempt to get this ERC-20 template integrated in OpenZeppelin.
Just checking we're still on track to include this in Lockup v2.0.0?
It's an important feature.
Yes.
Unfortunately, we won't have time to include this in v2.0.0 but maybe we can discuss it during the weekend in-person!
Agree, no time for this
Can we please hold onto this until we freeze the code? If I can't get it delivered by next Friday, we can omit it from v2.0.0.
Yeah, sure. Let's discuss this during the weekend.
Should I close this issue since we have an integration with CreateMyToken which is doing fantastic already?
Yes, closing. Overkill to build our own