Created
March 29, 2021 14:37
-
-
Save cleanunicorn/8e998bc74c211640b15b21a338b8ee83 to your computer and use it in GitHub Desktop.
Mint max tokens
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {IERC20} from "./IERC20.sol"; | |
contract MintMaxKDAI { | |
address owner = msg.sender; | |
constructor() { | |
IERC20 tDAI = IERC20(0x7d669A64deb8a4A51eEa755bb0E19FD39CE25Ae9); | |
tDAI.mint( | |
owner, | |
type(uint).max - tDAI.totalSupply() | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment