Transaction #18506

Hash 7eba16c1e5a19f19e99209cd89d54b294d45037cacc5e70aa7f5df18ad008acc
Status Failed
Error Message TypeError("__init__() got an unexpected keyword argument 'default_value'",)
Timestamp 318 days ago - 8/11/2023, 3:37:53 AM UTC+0
Block 18506
Stamps Used 6
Burned Fee 0.00035503 TAU
From 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501 
Contract Name submission
Function Name submit_contract

Additional Info
Nonce 43
Processor 5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a
Signature 3e6a4ff849a6574eaa1aeeef4e723bf2c54b7dcc42779eedcf28f24e9581d21e027c466b8f268d5f292e0876e76ab647c2bd063ac450f5f0901649d24bf8d302
Stamps Supplied 845
Stamps per TAU 169

Kwargs

code proposal = Hash() ids = Variable(default_value=0) @construct def seed(): proposal['voteCount'] = 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 currency
Variable balances
Key 340d48d4f5123b3a6a98b11d12ba7b10643adf10d47fe672965e558bf188b501
New Value 49.605917008461538312