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:
Old | New | | Differences |
---|
8 | 8 | | let c = split(b, "_") |
---|
9 | 9 | | let d = c[0] |
---|
10 | 10 | | 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")) |
---|
14 | 16 | | then { |
---|
15 | | - | let h = g |
---|
16 | | - | h |
---|
| 17 | + | let j = i |
---|
| 18 | + | j |
---|
17 | 19 | | } |
---|
18 | 20 | | else 0 |
---|
19 | 21 | | } |
---|
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)] |
---|
22 | 24 | | } |
---|
23 | 25 | | |
---|
24 | 26 | | |
---|
25 | 27 | | |
---|
26 | 28 | | @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)] |
---|
28 | 30 | | |
---|
29 | 31 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func post_incoming_polygon_txn (b) = { |
---|
8 | 8 | | let c = split(b, "_") |
---|
9 | 9 | | let d = c[0] |
---|
10 | 10 | | 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")) |
---|
14 | 16 | | then { |
---|
15 | | - | let h = g |
---|
16 | | - | h |
---|
| 17 | + | let j = i |
---|
| 18 | + | j |
---|
17 | 19 | | } |
---|
18 | 20 | | else 0 |
---|
19 | 21 | | } |
---|
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)] |
---|
22 | 24 | | } |
---|
23 | 25 | | |
---|
24 | 26 | | |
---|
25 | 27 | | |
---|
26 | 28 | | @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)] |
---|
28 | 30 | | |
---|
29 | 31 | | |
---|