Skip to content

Instantly share code, notes, and snippets.

Avatar

William Morriss wjmelements

View GitHub Profile
@wjmelements
wjmelements / Sponsored v1
Last active Mar 10, 2018
Sponsored gas plugin
View Sponsored v1
pragma solidity^0.4.19;
// like a less-liquid GasToken
contract Sponsored {
uint256[] wastedSpace;
function sponsor() external {
uint256 len = wastedSpace.length;
wastedSpace.length = len + 5;
wastedSpace[len] = 1;
wastedSpace[len+1] = 1;
wastedSpace[len+2] = 1;
You can’t perform that action at this time.