Skip to content

Instantly share code, notes, and snippets.

@cyborgdennett
cyborgdennett / Greeter.sol
Created September 2, 2022 21:24
Sample Greeter contract
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
// import "hardhat/console.sol";
contract Greeter {
string greeting;
constructor(string memory _greeting) {
@cyborgdennett
cyborgdennett / MakerDAOMulticall.sol
Last active November 3, 2022 14:38
OpenZeppelin Multicall
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
pragma experimental ABIEncoderV2;
/// @title Multicall - Aggregate results from multiple read-only function calls
/// @author Michael Elliot <[email protected]>
/// @author Joshua Levine <[email protected]>
/// @author Nick Johnson <[email protected]>