Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am matyang on github.
  • I am mattyang (https://keybase.io/mattyang) on keybase.
  • I have a public key ASB5kp93gqrn8Ul3ODh9USIgsSG3L67MDaYJ88RacySB3Qo

To claim this, I am signing this object:

@matYang
matYang / ShuoWeddingContractSource.sol
Created August 6, 2018 19:44
copy & paste into Remix for contract invocation, contract deployed at 0xbf305049bcefe28777104d5cbbcc8f58e6b21f69 Ethereum mainnet
pragma solidity ^0.4.24;
contract BestWeddingWishes {
string public constant groom = "Shuo, Chang";
string public constant bride = "Yanyan, Zhang";
string public constant dateStr = "Aug 5th, 2018";
string[] public wishes;
pragma solidity ^0.4.18;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;
import {IPool} from "../interfaces/pools/IPool.sol";
import {IERC165} from "../../vendor/IERC165.sol";
abstract contract TokenPool is IPool, OwnerIsCreator, Pausable, IERC165 {