Some bug fixes needed for some Serpent files.
[robmyers:artworld-ethereum.git] / serpent / certificate_of_authenticity_url_hash.se
1 ARTIST = 0x8802b7f0bfa5e9f5825f2fc708e1ad00d2c2b5d6
2 WORK.HASH = 0x76bba376ea574e63ab357b2374d1cee5aa77d24db38115e3824c5cc4f443d5f7
3 URL.HASH = 0xa005b1625af0b6ee080dafb904c4505ad285764071ee45a8786159bd1a282634
4
5 // If there are enough arguments
6 if msg.datasize == 2:
7     // Check the provided hashes against the stored work and url hashes
8     return((msg.data[0] == WORK.HASH) and (msg.data[1] == URL.HASH))
9 // Otherwise
10 else:
11     // Do nothing
12     stop