tx · BnA1o6iTpfScYc53JVwpsRd5GuJiEYTK7Xb4vKLEB9V

3N5gWG3xp8iqkyaQASichLUQqCBVGgRv3RN:  -0.00100000 Waves

2024.11.16 21:37 [3374377] smart account 3N5gWG3xp8iqkyaQASichLUQqCBVGgRv3RN > SELF 0.00000000 Waves

{ "type": 13, "id": "BnA1o6iTpfScYc53JVwpsRd5GuJiEYTK7Xb4vKLEB9V", "fee": 100000, "feeAssetId": null, "timestamp": 1731782273517, "version": 2, "chainId": 84, "sender": "3N5gWG3xp8iqkyaQASichLUQqCBVGgRv3RN", "senderPublicKey": "3Qq33JqcACq2sCuxQW8NCA4SwwbL93n4XgPQCvsdDJGu", "proofs": [ "5A7ZCuB66ZBcLUHV15Xg8kSchUZnjbCxctYXMQMGvXFG37EGDmVBNTMVH7PbKdNr6umUjtcb93ZRgWzWWyiLDpUe" ], "script": "base64:CAIECAISAAABAWkBCWFkZEZhcm1lcgAEB2FkZHJlc3MJAKUIAQgFAWkGY2FsbGVyBAZmYXJtZXIJAJ8IAQUHYWRkcmVzcwMJAAACBQZmYXJtZXIFBHVuaXQJAMwIAgkBDEludGVnZXJFbnRyeQIFB2FkZHJlc3MAAAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIFB2FkZHJlc3MCCF9wZW5kaW5nAgAFA25pbAkAAgECFUZhcm1lciBhbHJlYWR5IGV4aXN0cwCT2tf5", "height": 3374377, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4NTAyFzbg61DokiqXY1g1AYLgXyjuzKEyukVhrQ696Tk Next: G3uY3pL9gS81e5qk5GNYSEMa6wL72NSQu3k2A6K6ByJW Diff:
OldNewDifferences
99 let farmer = getInteger(address)
1010 if ((farmer == unit))
1111 then [IntegerEntry(address, 0), StringEntry((address + "_pending"), "")]
12- else nil
12+ else throw("Farmer already exists")
1313 }
1414
1515
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 8 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func addFarmer () = {
88 let address = toString(i.caller)
99 let farmer = getInteger(address)
1010 if ((farmer == unit))
1111 then [IntegerEntry(address, 0), StringEntry((address + "_pending"), "")]
12- else nil
12+ else throw("Farmer already exists")
1313 }
1414
1515

github/deemru/w8io/026f985 
11.08 ms