Skip to content

Instantly share code, notes, and snippets.

@kamescg
Created May 19, 2020 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamescg/993d40518a0dab997954d47f23985207 to your computer and use it in GitHub Desktop.
Save kamescg/993d40518a0dab997954d47f23985207 to your computer and use it in GitHub Desktop.
Encode openLockETHAndDraw MakerDAO method
function openLockETHAndDraw(
address manager,
address jug,
address ethJoin,
address daiJoin,
bytes32 ilk,
uint wadD
) public pure returns (bytes memory) {
return abi.encodeWithSignature("openLockETHAndDraw(address,address,address,address,bytes32,uint256)", manager, jug, ethJoin, daiJoin, ilk, wadD);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment