Skip to content

Instantly share code, notes, and snippets.

@VoR0220
Created February 15, 2016 04:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VoR0220/86fab62a7fd02a6a5811 to your computer and use it in GitHub Desktop.
Save VoR0220/86fab62a7fd02a6a5811 to your computer and use it in GitHub Desktop.
contract owned {
function owned() { owner = msg.sender; }
address owner;
modifier onlyowner { if (msg.sender != owner) throw; _ }
}
contract forDiana is owned {
event getPoem(string indexed message);
string[18] poem;
function forDiana() {
poem[0] = "From the beginning, you helped me find my greatest passion.";
poem[1] = "Every time the flames of my soul begin to die out,";
poem[2] = "you stoke them and reignite what you found when we met.";
poem[3] = "I know I am not the best when it comes to handling theml,";
poem[4] = "and I know that though I may have burned you along the way,";
poem[5] = "I continue to work to cauterize any wounds sustained.";
poem[6] = "Know that I will always be there to give you warmth and comfort";
poem[7] = "From the ashes of our passions";
poem[8] = "grows the tree of our wonderful family";
poem[9] = "Since you are to me what nicotine is to my bloodstream";
poem[10] = "A calm reliever, and sometimes a dangerous driver";
poem[11] = "For that one time where I botched the one of the most important moments in our lives";
poem[12] = "This one here is to make things right.";
poem[13] = "For one contract might state something of semi-permanence,";
poem[14] = "this contract is truly eternal.";
poem[15] = "And from the passion that you introduced me to and I discarded at first";
poem[16] = "shall now come the most binding upon binding agreements.";
poem[17] = "Diana will you marry me?";
}
function returnPoem(){
for (uint i = 0; i < 18; i++) {
getPoem(poem[i]);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment