Transaction #17667
Hash | c5e8765e64b6a5909798673663324140108b294b4914d951c0d6bf6961ecf2c4 |
Status | Failed |
Error Message | NameError("name 'balance' is not defined",) |
Timestamp | 345 days ago - 5/16/2023, 2:20:00 AM UTC+0 |
Block | 17667 |
Stamps Used | 21 |
Burned Fee | 0.00124260 TAU |
From | 1351e423715020237f509f5492f4999f7349eed53ce1c1ad4d4679aebf9e8af0 |
Contract Name | submission |
Function Name | submit_contract |
Additional Info
Nonce | 8 |
Processor | a04b5891ef8cd27095373a4f75b899ec2bc0883c02e506a6a5b55b491998cc3f |
Signature | 8bf186559d45e249fc2b089b95297d95da7df22691a9fb1286cf63a3a1985cbbe84eb0b5dd69912a683924b70d2827131e7ebef90cc6bf28ac889f1a460e920d |
Stamps Supplied | 845 |
Stamps per TAU | 169 |
Kwargs
code | balance_1 = Hash() balance_2 = Hash() objetivo = Hash() diferencia_jugador1 = Hash() diferencia_jugador2 = Hash() random.seed() @construct def choice_player(): balance_1[ctx.caller] = random.randint(1, 10) balance_2[ctx.caller] = random.randint(1, 10) objetivo[ctx.caller] = 10 diferencia_jugador1[balance] = objetivo[ctx.caller] - balance_1[ctx.caller] diferencia_jugador2[balance] = objetivo[ctx.caller] - balance_2[ctx.caller] @export def choice_player_1(wallet_id: str): return str(diferencia_jugador1[balance]) @export def choice_player_2(wallet_id: str): return str(diferencia_jugador2[balance]) |
name | con_dasdsadsadas |
State Changes
Contract | currency |
Variable | balances |
Key | 1351e423715020237f509f5492f4999f7349eed53ce1c1ad4d4679aebf9e8af0 |
New Value | 283.364037817416110801832135080128 |