Transaction #18488

Hash b0f89b512f4b580b88a14bbeb6a39453d30ac2642b60d7eb81052d789b0a216e
Status Success
Timestamp 256 days ago - 8/11/2023, 3:12:36 AM UTC+0
Block 18488
Stamps Used 92
Burned Fee 0.00544379 TAU
From 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501 
Contract Name submission
Function Name submit_contract

Additional Info
Nonce 25
Processor 5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a
Signature 74a4d47aaf68e8456693b15e09dd1da015ba00beb59bd93e8dd8da1ff011ce17177ab7d5a252fccbc483566c08070220e4fb298f074cbadf9e6546d54ca8aa0b
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 proposal['id'][str(id_value)] proposal['id'][str(id_value)]['name'] = name proposal['id'][str(id_value)]['proposal'] = proposalVote proposal['id'][str(id_value)]['creator'] = ctx.caller() nombre = proposal['id'][str(id_value)]['name'] proposal_text = proposal['id'][str(id_value)]['proposal'] Text = f'ID: {ids.get()}, NAME:{nombre}, PROPOSAL:{proposal_text}' return Text @export def pruebas(): return str(ids.get()) @export def pruebas3(): return ids.get() + 1
name con_proposal_5

State Changes

Contract con_proposal_5
Variable __code__
New Value __proposal = Hash(contract='con_proposal_5', name='proposal') __ids = Variable(contract='con_proposal_5', name='ids') def ____(): __proposal['voteCount'] = 0 __ids.set = 0 @__export('con_proposal_5') def createProposal(name: str, proposalVote: str): id_value = __ids.get() __ids.set = id_value + 1 __proposal['id'][str(id_value)] __proposal['id'][str(id_value)]['name'] = name __proposal['id'][str(id_value)]['proposal'] = proposalVote __proposal['id'][str(id_value)]['creator'] = ctx.caller() nombre = __proposal['id'][str(id_value)]['name'] proposal_text = __proposal['id'][str(id_value)]['proposal'] Text = f'ID: {__ids.get()}, NAME:{nombre}, PROPOSAL:{proposal_text}' return Text @__export('con_proposal_5') def pruebas(): return str(__ids.get()) @__export('con_proposal_5') def pruebas3(): return __ids.get() + 1
 
Contract con_proposal_5
Variable __compiled__
New Value e30000000000000000000000000400000040000000735c00000065006400640164028d025a0165026400640364028d025a036404640584005a046505640083016506650664069c0264076408840483015a076505640083016409640a840083015a08650564008301640b640c840083015a09640d5300290eda0e636f6e5f70726f706f73616c5f35da0870726f706f73616c2902da08636f6e7472616374da046e616d65da0369647363000000000000000000000000030000004300000073120000006401740064023c00640174015f026400530029034ee900000000da09766f7465436f756e742903da0a5f5f70726f706f73616cda055f5f696473da03736574a900720b000000720b000000da00da045f5f5f5f05000000730400000000010801720d00000029027204000000da0c70726f706f73616c566f746563020000000000000006000000060000004300000073a800000074006a0183007d027c026401170074005f0274036402190074047c028301190001007c0074036402190074047c028301190064033c007c0174036402190074047c028301190064043c0074056a06830074036402190074047c028301190064053c0074036402190074047c0283011900640319007d0374036402190074047c0283011900640419007d04640674006a0183009b0064077c039b0064087c049b009d067d057c05530029094ee901000000da02696472040000007202000000da0763726561746f727a0449443a207a072c204e414d453a7a0b2c2050524f504f53414c3a29077209000000da03676574720a0000007208000000da03737472da03637478da0663616c6c657229067204000000720e000000da0869645f76616c7565da066e6f6d627265da0d70726f706f73616c5f74657874da0454657874720b000000720b000000720c000000da0e63726561746550726f706f73616c0a0000007314000000000208010a011001140114011801140114011a01721a000000630000000000000000000000000200000043000000730c000000740074016a0283008301530029014e2903721300000072090000007212000000720b000000720b000000720b000000720c000000da07707275656261731800000073020000000002721b000000630000000000000000000000000200000043000000730c00000074006a01830064011700530029024e720f000000290272090000007212000000720b000000720b000000720b000000720c000000da0870727565626173331d00000073020000000002721c0000004e290ada04486173687208000000da085661726961626c657209000000720d000000da085f5f6578706f72747213000000721a000000721b000000721c000000720b000000720b000000720b000000720c000000da083c6d6f64756c653e01000000730c0000000c010c0308050601120d1005
 
Contract con_proposal_5
Variable __developer__
New Value 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501
 
Contract con_proposal_5
Variable __owner__
New Value null
 
Contract con_proposal_5
Variable __submitted__
New Value 2023,8,11,3,12,37,0
 
Contract con_proposal_5
Variable proposal
Key voteCount
New Value 0
 
Contract currency
Variable balances
Key 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501
New Value 52.881656699112425882