Skip to content

Instantly share code, notes, and snippets.

@tjade273
Created February 25, 2016 02:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjade273/0ce10a21573eae71f2c5 to your computer and use it in GitHub Desktop.
Save tjade273/0ce10a21573eae71f2c5 to your computer and use it in GitHub Desktop.
contract RaiseGas {
uint currentLimit;
uint lastPayout;
function RaiseGas(){
currentLimit = block.gaslimit;
lastPayout = block.number;
}
function(){
if(lastPayout < block.number && block.gaslimit >= currentLimit + currentLimit/1024){
block.coinbase.send(this.balance/500);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment