Transaction #18507

Hash c5df2aba88abf924399c73816b7ac99e6e6f74b1fb0a91145e14185037201a9f
Status Success
Timestamp 254 days ago - 8/11/2023, 3:38:29 AM UTC+0
Block 18507
Stamps Used 99
Burned Fee 0.00585799 TAU
From 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501 
Contract Name submission
Function Name submit_contract

Additional Info
Nonce 44
Processor 5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a
Signature 7f1c8cd3193df4c82efabc0f5cd7ab8256d9e9ba305526b49450ad46407d8fa598923a9f49a0b2ae29b317089919c1bd2b210e723acaa621cc6fcde5e2b2d605
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() + 1 proposal['id'] = int_id proposal['id']['name'] = name return proposal['id']['name']
name con_proposal_12

State Changes

Contract con_proposal_12
Variable __code__
New Value __proposal = Hash(contract='con_proposal_12', name='proposal') __ids = Variable(contract='con_proposal_12', name='ids') def ____(): __proposal['voteCount'] = 0 __ids.set(0) @__export('con_proposal_12') 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_12') def prueba(): return __ids.get() + 1 @__export('con_proposal_12') def prueba1(name: str): int_id = __ids.get() + 1 __proposal['id'] = int_id __proposal['id']['name'] = name return __proposal['id']['name']
 
Contract con_proposal_12
Variable __compiled__
New Value e30000000000000000000000000400000040000000736200000065006400640164028d025a0165026400640364028d025a036404640584005a046505640083016506650664069c0264076408840483015a076505640083016409640a840083015a086505640083016506640b9c01640c640d840483015a09640e5300290fda0f636f6e5f70726f706f73616c5f3132da0870726f706f73616c2902da08636f6e7472616374da046e616d65da0369647363000000000000000000000000030000004300000073160000006401740064023c0074016a026401830101006400530029034ee900000000da09766f7465436f756e742903da0a5f5f70726f706f73616cda055f5f696473da03736574a900720b000000720b000000da00da045f5f5f5f05000000730400000000010801720d00000029027204000000da0c70726f706f73616c566f7465630200000000000000070000000600000043000000739000000074006a0183007d027c026401170074005f02740374006a01830083017d037c007404640219007c03190064033c007c017404640219007c03190064043c0074056a0683007404640219007c03190064053c007404640219007c031900640319007d047404640219007c031900640419007d05640674006a0183009b0064077c049b0064087c059b009d067d067c06530029094ee901000000da02696472040000007202000000da0763726561746f727a0449443a207a072c204e414d453a7a0b2c2050524f504f53414c3a29077209000000da03676574720a000000da037374727208000000da03637478da0663616c6c657229077204000000720e000000da0869645f76616c7565da067374725f6964da066e6f6d627265da0d70726f706f73616c5f74657874da0454657874720b000000720b000000720c000000da0e63726561746550726f706f73616c0a0000007314000000000208010a010c01100110011401100110011a01721b000000630000000000000000000000000200000043000000730c00000074006a01830064011700530029024e720f000000290272090000007212000000720b000000720b000000720b000000720c000000da067072756562611800000073020000000002721c00000029017204000000630100000000000000020000000300000043000000732c00000074006a018300640117007d017c01740264023c007c0074026402190064033c0074026402190064031900530029044e720f00000072100000007204000000290372090000007212000000720800000029027204000000da06696e745f6964720b000000720b000000720c000000da07707275656261311d000000730800000000020c0108010c01721e0000004e290ada04486173687208000000da085661726961626c657209000000720d000000da085f5f6578706f72747213000000721b000000721c000000721e000000720b000000720b000000720b000000720c000000da083c6d6f64756c653e01000000730e0000000c010c0308050601120d10050601
 
Contract con_proposal_12
Variable __developer__
New Value 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501
 
Contract con_proposal_12
Variable __owner__
New Value null
 
Contract con_proposal_12
Variable __submitted__
New Value 2023,8,11,3,38,30,0
 
Contract con_proposal_12
Variable ids
New Value 0
 
Contract con_proposal_12
Variable proposal
Key voteCount
New Value 0
 
Contract currency
Variable balances
Key 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501
New Value 49.020118191893491012