tx · D8e5ysgViq8LhWELZPjx8AsTKTEesioonMcP7m7Pzhq5

3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9:  -0.01400000 Waves

2021.04.15 03:49 [1482853] smart account 3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9 > SELF 0.00000000 Waves

{ "type": 13, "id": "D8e5ysgViq8LhWELZPjx8AsTKTEesioonMcP7m7Pzhq5", "fee": 1400000, "feeAssetId": null, "timestamp": 1618447766865, "version": 2, "chainId": 84, "sender": "3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9", "senderPublicKey": "4c4UBd9NA6MRSQodQ87kJmgeRXNpFLbARj27ybkF3f78", "proofs": [ "24iah8NP9MPJrAqXtUYY5yGNZWnjRUf5i6KfMK8nXSuHSXxUsYuHtu99KER79qWRJTKW9iaADcFkxwxBCVLt4Kut" ], "script": "base64:AAIEAAAAAAAAABEIAhIECgIIARIHCgUICAgBAQAAAAIAAAAACmhhbmRpY2FwSWQBAAAAIDSsVd2AOHh32S18jBWo19f9XCumvQWu0kMwmD8lVgfQAAAAAAdzY29yZUlkAQAAACA0rFXdgDh4d9ktfIwVqNfX/Vwrpr0FrtJDMJg/JVYH0AAAAAIAAAABaQEAAAANd3JpdGVIYW5kaWNhcAAAAAIAAAAEanNvbgAAAA1oYW5kaWNhcEluZGV4BAAAAAZhbW91bnQJAABoAAAAAgUAAAANaGFuZGljYXBJbmRleAAAAAAAAAAAZAQAAAAHYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAJaGFuZGljYXBfBQAAAAdhZGRyZXNzBQAAAARqc29uCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAGYW1vdW50BQAAAApoYW5kaWNhcElkBQAAAANuaWwAAAABaQEAAAAKd3JpdGVTY29yZQAAAAUAAAAKY291cnNlanNvbgAAAAlzY29yZWpzb24AAAANY29uZGl0aW9uanNvbgAAAAt0b3RhbFN0cm9rZQAAAAl0aW1lU3RhbXAEAAAABmFtb3VudAkAAGgAAAACBQAAAAt0b3RhbFN0cm9rZQAAAAAAAAAAZAQAAAAHYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAl0aW1lc3RhbXAJAAGkAAAAAQUAAAAJdGltZVN0YW1wCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAA1yb3VuZF9jb3Vyc2VfBQAAAAl0aW1lc3RhbXAFAAAAB2FkZHJlc3MFAAAACmNvdXJzZWpzb24JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABLAAAAAICAAAADHJvdW5kX3Njb3JlXwUAAAAJdGltZXN0YW1wBQAAAAdhZGRyZXNzBQAAAAlzY29yZWpzb24JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABLAAAAAICAAAAEHJvdW5kX2NvbmRpdGlvbl8FAAAACXRpbWVzdGFtcAUAAAAHYWRkcmVzcwUAAAANY29uZGl0aW9uanNvbgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAUAAAAHc2NvcmVJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkNI7oF", "height": 1482853, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FHhg3HSBs4B4SaAWYy8mKqSeSbURn8j8H2uF8twuZfTm Next: Cf565ZPkDe3u34XbcWS25rv55ooK6YxxGQ843Cs48jSu Diff:
OldNewDifferences
1515
1616
1717 @Callable(i)
18-func writeScore (json,totalStroke,timeStamp) = {
18+func writeScore (coursejson,scorejson,conditionjson,totalStroke,timeStamp) = {
1919 let amount = (totalStroke * 100)
2020 let address = toBase58String(i.caller.bytes)
2121 let timestamp = toString(timeStamp)
22-[StringEntry((("score_" + timestamp) + address), json), ScriptTransfer(i.caller, amount, scoreId)]
22+[StringEntry((("round_course_" + timestamp) + address), coursejson), StringEntry((("round_score_" + timestamp) + address), scorejson), StringEntry((("round_condition_" + timestamp) + address), conditionjson), ScriptTransfer(i.caller, amount, scoreId)]
2323 }
2424
2525
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let handicapId = base58'4YcceVpPoC38hnKjHQv9NY1kPxLH2WptnAgko6NhutjZ'
55
66 let scoreId = base58'4YcceVpPoC38hnKjHQv9NY1kPxLH2WptnAgko6NhutjZ'
77
88 @Callable(i)
99 func writeHandicap (json,handicapIndex) = {
1010 let amount = (handicapIndex * 100)
1111 let address = toBase58String(i.caller.bytes)
1212 [StringEntry(("handicap_" + address), json), ScriptTransfer(i.caller, amount, handicapId)]
1313 }
1414
1515
1616
1717 @Callable(i)
18-func writeScore (json,totalStroke,timeStamp) = {
18+func writeScore (coursejson,scorejson,conditionjson,totalStroke,timeStamp) = {
1919 let amount = (totalStroke * 100)
2020 let address = toBase58String(i.caller.bytes)
2121 let timestamp = toString(timeStamp)
22-[StringEntry((("score_" + timestamp) + address), json), ScriptTransfer(i.caller, amount, scoreId)]
22+[StringEntry((("round_course_" + timestamp) + address), coursejson), StringEntry((("round_score_" + timestamp) + address), scorejson), StringEntry((("round_condition_" + timestamp) + address), conditionjson), ScriptTransfer(i.caller, amount, scoreId)]
2323 }
2424
2525
2626 @Verifier(tx)
2727 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2828

github/deemru/w8io/169f3d6 
39.58 ms