Transaction #18503

Hash 99ec545c582ad3078ddd3a6dffb58b9a542c9ba026df32a821f9c2ba6a7aae0d
Status Success
Timestamp 339 days ago - 8/11/2023, 3:32:24 AM UTC+0
Block 18503
Stamps Used 98
Burned Fee 0.00579882 TAU
From 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501 
Contract Name submission
Function Name submit_contract

Additional Info
Nonce 40
Processor 5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a
Signature ad97c004532d643df7c0a114644f5bbca60194cb56e569b19007bccbfc5c6b4f077d934b688a8c5c3677476c2892f697048a15148e9ef13d0b7462540b183703
Stamps Supplied 845
Stamps per TAU 169

Kwargs

code proposal = Hash() ids = Variable() @construct def seed(): proposal['voteCount'] = 0 ids.set(0) @export def createProposal(name: str, proposalVote: str): id_value = ids.get() ids.set = id_value + 1 str_id = str(ids.get()) proposal['id'][str_id]['name'] = name proposal['id'][str_id]['proposal'] = proposalVote proposal['id'][str_id]['creator'] = ctx.caller() nombre = proposal['id'][str_id]['name'] proposal_text = proposal['id'][str_id]['proposal'] Text = f'ID: {ids.get()}, NAME:{nombre}, PROPOSAL:{proposal_text}' return Text @export def prueba(): return ids.get() + 1 @export def prueba1(name: str): int_id = ids.get() proposal['id'][int_id]['name'] = name return proposal['id'][int_id]['name']
name con_proposal_11

State Changes

Contract con_proposal_11
Variable __code__
New Value __proposal = Hash(contract='con_proposal_11', name='proposal') __ids = Variable(contract='con_proposal_11', name='ids') def ____(): __proposal['voteCount'] = 0 __ids.set(0) @__export('con_proposal_11') def createProposal(name: str, proposalVote: str): id_value = __ids.get() __ids.set = id_value + 1 str_id = str(__ids.get()) __proposal['id'][str_id]['name'] = name __proposal['id'][str_id]['proposal'] = proposalVote __proposal['id'][str_id]['creator'] = ctx.caller() nombre = __proposal['id'][str_id]['name'] proposal_text = __proposal['id'][str_id]['proposal'] Text = f'ID: {__ids.get()}, NAME:{nombre}, PROPOSAL:{proposal_text}' return Text @__export('con_proposal_11') def prueba(): return __ids.get() + 1 @__export('con_proposal_11') def prueba1(name: str): int_id = __ids.get() __proposal['id'][int_id]['name'] = name return __proposal['id'][int_id]['name']
 
Contract con_proposal_11
Variable __compiled__
New Value e30000000000000000000000000400000040000000736200000065006400640164028d025a0165026400640364028d025a036404640584005a046505640083016506650664069c0264076408840483015a076505640083016409640a840083015a086505640083016506640b9c01640c640d840483015a09640e5300290fda0f636f6e5f70726f706f73616c5f3131da0870726f706f73616c2902da08636f6e7472616374da046e616d65da0369647363000000000000000000000000030000004300000073160000006401740064023c0074016a026401830101006400530029034ee900000000da09766f7465436f756e742903da0a5f5f70726f706f73616cda055f5f696473da03736574a900720b000000720b000000da00da045f5f5f5f05000000730400000000010801720d00000029027204000000da0c70726f706f73616c566f7465630200000000000000070000000600000043000000739000000074006a0183007d027c026401170074005f02740374006a01830083017d037c007404640219007c03190064033c007c017404640219007c03190064043c0074056a0683007404640219007c03190064053c007404640219007c031900640319007d047404640219007c031900640419007d05640674006a0183009b0064077c049b0064087c059b009d067d067c06530029094ee901000000da02696472040000007202000000da0763726561746f727a0449443a207a072c204e414d453a7a0b2c2050524f504f53414c3a29077209000000da03676574720a000000da037374727208000000da03637478da0663616c6c657229077204000000720e000000da0869645f76616c7565da067374725f6964da066e6f6d627265da0d70726f706f73616c5f74657874da0454657874720b000000720b000000720c000000da0e63726561746550726f706f73616c0a0000007314000000000208010a010c01100110011401100110011a01721b000000630000000000000000000000000200000043000000730c00000074006a01830064011700530029024e720f000000290272090000007212000000720b000000720b000000720b000000720c000000da067072756562611800000073020000000002721c00000029017204000000630100000000000000020000000300000043000000732800000074006a0183007d017c007402640119007c01190064023c007402640119007c01190064021900530029034e72100000007204000000290372090000007212000000720800000029027204000000da06696e745f6964720b000000720b000000720c000000da07707275656261311d0000007306000000000208011001721e0000004e290ada04486173687208000000da085661726961626c657209000000720d000000da085f5f6578706f72747213000000721b000000721c000000721e000000720b000000720b000000720b000000720c000000da083c6d6f64756c653e01000000730e0000000c010c0308050601120d10050601
 
Contract con_proposal_11
Variable __developer__
New Value 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501
 
Contract con_proposal_11
Variable __owner__
New Value null
 
Contract con_proposal_11
Variable __submitted__
New Value 2023,8,11,3,32,25,0
 
Contract con_proposal_11
Variable ids
New Value 0
 
Contract con_proposal_11
Variable proposal
Key voteCount
New Value 0
 
Contract currency
Variable balances
Key 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501
New Value 49.652662572544378547