tx · 2KnJSsT8MVAe8yiE9fNpi4SeuyLe4WDyiUPcS4xBxhro

3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g:  -0.01000000 Waves

2023.08.07 16:41 [2700239] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves

{ "type": 13, "id": "2KnJSsT8MVAe8yiE9fNpi4SeuyLe4WDyiUPcS4xBxhro", "fee": 1000000, "feeAssetId": null, "timestamp": 1691415731133, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "2ymCT2ZDWTsSqpqJ1dFS8Kdiz4ND8spRJ2if6BizNqG86qMRPHbaRPv48LLLuHSJLRSM5YEAgtSfxm6kahpDaHn" ], "script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABNnZXRfaW5jb21pbmdfYW1vdW50CQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAgQAAAAXY29udmVydF9pbmNvbWluZ19hbW91bnQJAABrAAAAAwkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAABNnZXRfaW5jb21pbmdfYW1vdW50AAAAAAAAAAABAAAAAAJUC+QABAAAABFyZWFkX2luY29taW5nX3R4bgQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAABNUb3RhbF9JbmNvbWluZ19UeG5zAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAAEnRvdGFsX2luY29taW5nX3R4bgkAAGQAAAACBQAAABFyZWFkX2luY29taW5nX3R4bgAAAAAAAAAAAQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAATVG90YWxfSW5jb21pbmdfVHhucwUAAAASdG90YWxfaW5jb21pbmdfdHhuCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAAFGdldF9pbmNvbWluZ19hZGRyZXNzCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEFAAAAE2dldF9pbmNvbWluZ19hbW91bnQFAAAABHVuaXQFAAAAA25pbAAAAAFpAQAAAAZEZWxldGUAAAAEAAAAA0tleQAAAARLZXkxAAAABEtleTIAAAAES2V5MwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANLZXkJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTMFAAAAA25pbAAAAABgu17q", "height": 2700239, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 91jYKpLqW6U9oTXWF8nmKSoVJ3R7LRrPdDCarTo8CBz5 Next: AmYQU85V6hzV18ET1JhLR76QuvpXAitb6SjpAydt6j3H Diff:
OldNewDifferences
88 let c = split(b, "_")
99 let d = c[0]
1010 let e = c[1]
11- let f = {
12- let g = getInteger(this, "Total_Incoming_Txns")
13- if ($isInstanceOf(g, "Int"))
11+ let f = c[2]
12+ let g = fraction(parseIntValue(f), 1, 10000000000)
13+ let h = {
14+ let i = getInteger(this, "Total_Incoming_Txns")
15+ if ($isInstanceOf(i, "Int"))
1416 then {
15- let h = g
16- h
17+ let j = i
18+ j
1719 }
1820 else 0
1921 }
20- let i = (f + 1)
21-[IntegerEntry("Total_Incoming_Txns", i), StringEntry(toString(i), b), ScriptTransfer(addressFromStringValue(d), parseIntValue(e), unit)]
22+ let k = (h + 1)
23+[IntegerEntry("Total_Incoming_Txns", k), ScriptTransfer(addressFromStringValue(e), parseIntValue(f), unit)]
2224 }
2325
2426
2527
2628 @Callable(a)
27-func Delete (j,k,l,m) = [DeleteEntry(j), DeleteEntry(k), DeleteEntry(l), DeleteEntry(m)]
29+func Delete (l,m,n,o) = [DeleteEntry(l), DeleteEntry(m), DeleteEntry(n), DeleteEntry(o)]
2830
2931
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func post_incoming_polygon_txn (b) = {
88 let c = split(b, "_")
99 let d = c[0]
1010 let e = c[1]
11- let f = {
12- let g = getInteger(this, "Total_Incoming_Txns")
13- if ($isInstanceOf(g, "Int"))
11+ let f = c[2]
12+ let g = fraction(parseIntValue(f), 1, 10000000000)
13+ let h = {
14+ let i = getInteger(this, "Total_Incoming_Txns")
15+ if ($isInstanceOf(i, "Int"))
1416 then {
15- let h = g
16- h
17+ let j = i
18+ j
1719 }
1820 else 0
1921 }
20- let i = (f + 1)
21-[IntegerEntry("Total_Incoming_Txns", i), StringEntry(toString(i), b), ScriptTransfer(addressFromStringValue(d), parseIntValue(e), unit)]
22+ let k = (h + 1)
23+[IntegerEntry("Total_Incoming_Txns", k), ScriptTransfer(addressFromStringValue(e), parseIntValue(f), unit)]
2224 }
2325
2426
2527
2628 @Callable(a)
27-func Delete (j,k,l,m) = [DeleteEntry(j), DeleteEntry(k), DeleteEntry(l), DeleteEntry(m)]
29+func Delete (l,m,n,o) = [DeleteEntry(l), DeleteEntry(m), DeleteEntry(n), DeleteEntry(o)]
2830
2931

github/deemru/w8io/169f3d6 
23.26 ms