Contract con_test_id2


Contract Code


  
1 random.seed()
2
3 @export
4 def get_id():
5 return hashlib.sha256(str(now) + str(random.randrange(9999)))[:12]
6

Byte Code

e30000000000000000000000000300000040000000731c00000065006a018300010065026400830164016402840083015a03640353002904da0c636f6e5f746573745f696432630000000000000000000000000500000043000000732400000074006a01740274038301740274046a05640183018301170083016400640285021900530029034e690f270000e90c0000002906da07686173686c6962da06736861323536da03737472da036e6f77da0672616e646f6dda0972616e6472616e6765a90072090000007209000000da00da066765745f69640400000073020000000002720b0000004e29047207000000da0473656564da085f5f6578706f7274720b000000720900000072090000007209000000720a000000da083c6d6f64756c653e0100000073020000000803