tx · 4TuRZi962oQUBdsActLjE8FET9NcbFf7AShvd5U3pQCM

3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9:  -0.01400000 Waves

2021.04.16 09:09 [1484622] smart account 3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9 > SELF 0.00000000 Waves

{ "type": 13, "id": "4TuRZi962oQUBdsActLjE8FET9NcbFf7AShvd5U3pQCM", "fee": 1400000, "feeAssetId": null, "timestamp": 1618553397683, "version": 2, "chainId": 84, "sender": "3Mq7NQbKZ2JrQZvvYjw7pbno1rrPKef9jZ9", "senderPublicKey": "4c4UBd9NA6MRSQodQ87kJmgeRXNpFLbARj27ybkF3f78", "proofs": [ "CiRK9SJ4skHo6x1toPFAY1ivuxookSvUsrvjyr2vkRwucqYEqd9LSMkHqhQJ9K6o1R1d2i8juXRvFLq11hXX6Yw" ], "script": "base64:AAIEAAAAAAAAABYIAhIJCgcICAgIAQEBEgcKBQgICAEBAAAAAgAAAAAKaGFuZGljYXBJZAEAAAAgNKxV3YA4eHfZLXyMFajX1/1cK6a9Ba7SQzCYPyVWB9AAAAAAB3Njb3JlSWQBAAAAIMB3v52c8JrXTpm26lUxmUG2pEZncDNRr0ywrr8kX11wAAAAAgAAAAFpAQAAAA93cml0ZVNjb3JlSGFuZGkAAAAHAAAACmNvdXJzZWpzb24AAAAJc2NvcmVqc29uAAAADWNvbmRpdGlvbmpzb24AAAAMaGFuZGljYXBqc29uAAAAC3RvdGFsU3Ryb2tlAAAADWhhbmRpY2FwSW5kZXgAAAAJdGltZVN0YW1wBAAAAAtzY29yZUFtb3VudAkAAGgAAAACBQAAAAt0b3RhbFN0cm9rZQAAAAAAAAAAZAQAAAAOaGFuZGljYXBBbW91bnQJAABoAAAAAgUAAAANaGFuZGljYXBJbmRleAAAAAAAAAAAZAQAAAAHYWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAl0aW1lc3RhbXAJAAGkAAAA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CQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgIAAAANcm91bmRfY291cnNlXwUAAAAJdGltZXN0YW1wBQAAAAdhZGRyZXNzBQAAAApjb3Vyc2Vqc29uCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAxyb3VuZF9zY29yZV8FAAAACXRpbWVzdGFtcAUAAAAHYWRkcmVzcwUAAAAJc2NvcmVqc29uCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACAgAAABByb3VuZF9jb25kaXRpb25fBQAAAAl0aW1lc3RhbXAFAAAAB2FkZHJlc3MFAAAADWNvbmRpdGlvbmpzb24JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAZhbW91bnQFAAAAB3Njb3JlSWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5RTNjJg==", "height": 1484622, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HcTdVmtJqabG42whTB6rKH3tQUxsesWzUBjxnaQaHkU1 Next: none Diff:
OldNewDifferences
1111 let handicapAmount = (handicapIndex * 100)
1212 let address = toBase58String(i.caller.bytes)
1313 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)]
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, handicapId)]
1515 }
1616
1717
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let handicapId = base58'4YcceVpPoC38hnKjHQv9NY1kPxLH2WptnAgko6NhutjZ'
55
66 let scoreId = base58'DxKBgUmydyWj1Rdk2qLeq238gvg4LM9aSL2ZKoEzBkWK'
77
88 @Callable(i)
99 func writeScoreHandi (coursejson,scorejson,conditionjson,handicapjson,totalStroke,handicapIndex,timeStamp) = {
1010 let scoreAmount = (totalStroke * 100)
1111 let handicapAmount = (handicapIndex * 100)
1212 let address = toBase58String(i.caller.bytes)
1313 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)]
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, handicapId)]
1515 }
1616
1717
1818
1919 @Callable(i)
2020 func writeScore (coursejson,scorejson,conditionjson,totalStroke,timeStamp) = {
2121 let amount = (totalStroke * 100)
2222 let address = toBase58String(i.caller.bytes)
2323 let timestamp = toString(timeStamp)
2424 [StringEntry((("round_course_" + timestamp) + address), coursejson), StringEntry((("round_score_" + timestamp) + address), scorejson), StringEntry((("round_condition_" + timestamp) + address), conditionjson), ScriptTransfer(i.caller, amount, scoreId)]
2525 }
2626
2727
2828 @Verifier(tx)
2929 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3030

github/deemru/w8io/169f3d6 
35.32 ms