Skip to content

Instantly share code, notes, and snippets.

View kevinbluer's full-sized avatar
🚣

Kevin Bluer kevinbluer

🚣
View GitHub Profile
Verifying my Blockstack ID is secured with the address 13UdakrjZGM64oNFkfKvkeJ9swXBu1dhUt https://explorer.blockstack.org/address/13UdakrjZGM64oNFkfKvkeJ9swXBu1dhUt
pragma solidity ^0.4.11;
contract HelloWorld {
function renderHelloWorld () returns (string) {
return 'Hello World';
}
}
pragma solidity ^0.4.6;
contract HelloWorld {
string saySomething;
function HelloWorld() {
saySomething = "Hello World!";
}
@kevinbluer
kevinbluer / BugsBunny.sol
Last active November 26, 2018 21:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.0+commit.1d4f565a.js&optimize=false&gist=
pragma solidity ^0.4.19;
/// @title A simulator for Bug Bunny, the most famous Rabbit
/// @author Warned Bros
/// @notice You can use this contract for only the most basic simulation
/// @dev All function calls are currently implement without side effects
contract BugsBunny {
/// @author Bob Clampett
/// @notice Determine if Bugs will accept `(_food)` to eat
/// @dev String comparison may be inefficient
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "./Context.sol";
import "./SafeMath.sol";
/**
* @title PaymentSplitter
* @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware that the Ether will be split in this way, since it is handled transparently by the contract.