tx · Cf565ZPkDe3u34XbcWS25rv55ooK6YxxGQ843Cs48jSu

3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9:  -0.01400000 Waves

2021.04.15 05:23 [1482952] smart account 3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9 > SELF 0.00000000 Waves

{ "type": 13, "id": "Cf565ZPkDe3u34XbcWS25rv55ooK6YxxGQ843Cs48jSu", "fee": 1400000, "feeAssetId": null, "timestamp": 1618453383509, "version": 2, "chainId": 84, "sender": "3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9", "senderPublicKey": "4c4UBd9NA6MRSQodQ87kJmgeRXNpFLbARj27ybkF3f78", "proofs": [ "2xDne1158Yb89VrTAbR2JFYL3JUtq71Pd9eJujysdhU3rrF9kSCX6nVb7k44HpeqDs8HEYqwrmpgBM2q43BjBfHc" ], "script": "base64:AAIEAAAAAAAAABYIAhIJCgcICAgIAQEBEgcKBQgICAEBAAAAAgAAAAAKaGFuZGljYXBJZAEAAAAgNKxV3YA4eHfZLXyMFajX1/1cK6a9Ba7SQzCYPyVWB9AAAAAAB3Njb3JlSWQBAAAAIDSsVd2AOHh32S18jBWo19f9XCumvQWu0kMwmD8lVgfQAAAAAgAAAAFpAQAAAA93cml0ZVNjb3JlSGFuZGkAAAAHAAAACmNvdXJzZWpzb24AAAAJc2NvcmVqc29uAAAADWNvbmRpdGlvbmpzb24AAAAMaGFuZGljYXBqc29uAAAAC3RvdGFsU3Ryb2tlAAAADWhhbmRpY2FwSW5kZXgAAAAJdGltZVN0YW1wBAAAAAtzY29yZUFtb3VudAkAAGgAAAACBQAAAAt0b3RhbFN0cm9rZQAAAAAAAAAAZAQAAAAOaGFuZGljYXBBbW91bnQJAABoAAAAAgUAAAANaGFuZGljYXBJbmRleAAAAAAAAAAAZAQAAAAHYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAl0aW1lc3RhbXAJAAGkAAA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EAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgIAAAANcm91bmRfY291cnNlXwUAAAAJdGltZXN0YW1wBQAAAAdhZGRyZXNzBQAAAApjb3Vyc2Vqc29uCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAxyb3VuZF9zY29yZV8FAAAACXRpbWVzdGFtcAUAAAAHYWRkcmVzcwUAAAAJc2NvcmVqc29uCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAABByb3VuZF9jb25kaXRpb25fBQAAAAl0aW1lc3RhbXAFAAAAB2FkZHJlc3MFAAAADWNvbmRpdGlvbmpzb24JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAZhbW91bnQFAAAAB3Njb3JlSWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V59QzdEA==", "height": 1482952, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D8e5ysgViq8LhWELZPjx8AsTKTEesioonMcP7m7Pzhq5 Next: HcTdVmtJqabG42whTB6rKH3tQUxsesWzUBjxnaQaHkU1 Diff:
OldNewDifferences
66 let scoreId = base58'4YcceVpPoC38hnKjHQv9NY1kPxLH2WptnAgko6NhutjZ'
77
88 @Callable(i)
9-func writeHandicap (json,handicapIndex) = {
10- let amount = (handicapIndex * 100)
9+func writeScoreHandi (coursejson,scorejson,conditionjson,handicapjson,totalStroke,handicapIndex,timeStamp) = {
10+ let scoreAmount = (totalStroke * 100)
11+ let handicapAmount = (handicapIndex * 100)
1112 let address = toBase58String(i.caller.bytes)
12-[StringEntry(("handicap_" + address), json), ScriptTransfer(i.caller, amount, handicapId)]
13+ let timestamp = toString(timeStamp)
14+[StringEntry((("round_course_" + timestamp) + address), coursejson), StringEntry((("round_score_" + timestamp) + address), scorejson), StringEntry((("round_condition_" + timestamp) + address), conditionjson), StringEntry(("handicap_index_" + address), handicapjson), ScriptTransfer(i.caller, scoreAmount, scoreId), ScriptTransfer(i.caller, handicapAmount, scoreId)]
1315 }
1416
1517
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)
9-func writeHandicap (json,handicapIndex) = {
10- let amount = (handicapIndex * 100)
9+func writeScoreHandi (coursejson,scorejson,conditionjson,handicapjson,totalStroke,handicapIndex,timeStamp) = {
10+ let scoreAmount = (totalStroke * 100)
11+ let handicapAmount = (handicapIndex * 100)
1112 let address = toBase58String(i.caller.bytes)
12-[StringEntry(("handicap_" + address), json), ScriptTransfer(i.caller, amount, handicapId)]
13+ let timestamp = toString(timeStamp)
14+[StringEntry((("round_course_" + timestamp) + address), coursejson), StringEntry((("round_score_" + timestamp) + address), scorejson), StringEntry((("round_condition_" + timestamp) + address), conditionjson), StringEntry(("handicap_index_" + address), handicapjson), ScriptTransfer(i.caller, scoreAmount, scoreId), ScriptTransfer(i.caller, handicapAmount, scoreId)]
1315 }
1416
1517
1618
1719 @Callable(i)
1820 func writeScore (coursejson,scorejson,conditionjson,totalStroke,timeStamp) = {
1921 let amount = (totalStroke * 100)
2022 let address = toBase58String(i.caller.bytes)
2123 let timestamp = toString(timeStamp)
2224 [StringEntry((("round_course_" + timestamp) + address), coursejson), StringEntry((("round_score_" + timestamp) + address), scorejson), StringEntry((("round_condition_" + timestamp) + address), conditionjson), ScriptTransfer(i.caller, amount, scoreId)]
2325 }
2426
2527
2628 @Verifier(tx)
2729 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2830

github/deemru/w8io/169f3d6 
22.58 ms