tx · 9KvRx5oVhak5bvVU6M92iJ6ZRE9QkG4UMru88JTQb1iz
3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g: -0.01000000 Waves
2023.08.08 11:23 [2701382] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves
{
"type": 13,
"id": "9KvRx5oVhak5bvVU6M92iJ6ZRE9QkG4UMru88JTQb1iz",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1691483011386,
"version": 2,
"chainId": 84,
"sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g",
"senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3",
"proofs": [
"5LE5juM8sEiXpcZ1GCRjVwxg2LiQJM6ds2UVQPWaWqqL3f28M2duEbnWtRU8mauxZE55ZDrtKeHFo2K4J96JVaru"
],
"script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABhnZXRfaW5jb21pbmdfYWRkcmVzc19oZXgJAAJcAAAAAQkAAZsAAAABBQAAABRnZXRfaW5jb21pbmdfYWRkcmVzcwQAAAATZ2V0X2luY29taW5nX2Ftb3VudAkAAZEAAAACBQAAABJzcGxpdF9pbmNvbWluZ190eG4AAAAAAAAAAAIEAAAAF2NvbnZlcnRfaW5jb21pbmdfYW1vdW50CQAAawAAAAMJAQAAAA1wYXJzZ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gkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTMFAAAAA25pbAAAAADvI7e/",
"height": 2701382,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: H6dQTtqJGzEdQnsMvxK9yAQRHxXvTADvSrWFjUmMsBpA
Next: 2QkY5E8Zt1Cu65DJP88tKf618sxjqgTrJ2oan8FwV42u
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 = 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")) |
---|
| 11 | + | let f = toBase16String(toBytes(e)) |
---|
| 12 | + | let g = c[2] |
---|
| 13 | + | let h = fraction(parseIntValue(g), 1, 10000000000) |
---|
| 14 | + | let i = { |
---|
| 15 | + | let j = getInteger(this, "Total_Incoming_Txns") |
---|
| 16 | + | if ($isInstanceOf(j, "Int")) |
---|
16 | 17 | | then { |
---|
17 | | - | let j = i |
---|
18 | | - | j |
---|
| 18 | + | let k = j |
---|
| 19 | + | k |
---|
19 | 20 | | } |
---|
20 | 21 | | else 0 |
---|
21 | 22 | | } |
---|
22 | | - | let k = (h + 1) |
---|
23 | | - | let l = { |
---|
24 | | - | let i = getInteger(this, "Total_Funds_Deposited") |
---|
25 | | - | if ($isInstanceOf(i, "Int")) |
---|
| 23 | + | let l = (i + 1) |
---|
| 24 | + | let m = { |
---|
| 25 | + | let j = getInteger(this, "Total_Funds_Deposited") |
---|
| 26 | + | if ($isInstanceOf(j, "Int")) |
---|
26 | 27 | | then { |
---|
27 | | - | let j = i |
---|
28 | | - | j |
---|
| 28 | + | let k = j |
---|
| 29 | + | k |
---|
29 | 30 | | } |
---|
30 | 31 | | else 0 |
---|
31 | 32 | | } |
---|
32 | | - | let m = (l + g) |
---|
33 | | - | let n = { |
---|
34 | | - | let i = getInteger(this, e) |
---|
35 | | - | if ($isInstanceOf(i, "Int")) |
---|
| 33 | + | let n = (m + h) |
---|
| 34 | + | let o = { |
---|
| 35 | + | let j = getInteger(this, e) |
---|
| 36 | + | if ($isInstanceOf(j, "Int")) |
---|
36 | 37 | | then { |
---|
37 | | - | let j = i |
---|
38 | | - | j |
---|
| 38 | + | let k = j |
---|
| 39 | + | k |
---|
39 | 40 | | } |
---|
40 | 41 | | else 0 |
---|
41 | 42 | | } |
---|
42 | | - | let o = (n + g) |
---|
43 | | - | let p = getString(this, ("Incoming_Txn_Hash_" + d)) |
---|
44 | | - | if ((p == d)) |
---|
| 43 | + | let p = (o + h) |
---|
| 44 | + | let q = getString(this, ("Incoming_Txn_Hash_" + d)) |
---|
| 45 | + | if ((q == d)) |
---|
45 | 46 | | then throw((d + " Already Exist and released by Dapp.")) |
---|
46 | | - | else [IntegerEntry("Total_Incoming_Txns", k), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", m), IntegerEntry(e, o), ScriptTransfer(addressFromStringValue(e), g, unit)] |
---|
| 47 | + | else [IntegerEntry("Total_Incoming_Txns", l), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", n), IntegerEntry(e, p), ScriptTransfer(addressFromStringValue(e), h, unit), StringEntry(f, e)] |
---|
47 | 48 | | } |
---|
48 | 49 | | |
---|
49 | 50 | | |
---|
50 | 51 | | |
---|
51 | 52 | | @Callable(a) |
---|
52 | | - | func Delete (q,r,s,t) = [DeleteEntry(q), DeleteEntry(r), DeleteEntry(s), DeleteEntry(t)] |
---|
| 53 | + | func Delete (r,s,t,u) = [DeleteEntry(r), DeleteEntry(s), DeleteEntry(t), DeleteEntry(u)] |
---|
53 | 54 | | |
---|
54 | 55 | | |
---|
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 = 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")) |
---|
| 11 | + | let f = toBase16String(toBytes(e)) |
---|
| 12 | + | let g = c[2] |
---|
| 13 | + | let h = fraction(parseIntValue(g), 1, 10000000000) |
---|
| 14 | + | let i = { |
---|
| 15 | + | let j = getInteger(this, "Total_Incoming_Txns") |
---|
| 16 | + | if ($isInstanceOf(j, "Int")) |
---|
16 | 17 | | then { |
---|
17 | | - | let j = i |
---|
18 | | - | j |
---|
| 18 | + | let k = j |
---|
| 19 | + | k |
---|
19 | 20 | | } |
---|
20 | 21 | | else 0 |
---|
21 | 22 | | } |
---|
22 | | - | let k = (h + 1) |
---|
23 | | - | let l = { |
---|
24 | | - | let i = getInteger(this, "Total_Funds_Deposited") |
---|
25 | | - | if ($isInstanceOf(i, "Int")) |
---|
| 23 | + | let l = (i + 1) |
---|
| 24 | + | let m = { |
---|
| 25 | + | let j = getInteger(this, "Total_Funds_Deposited") |
---|
| 26 | + | if ($isInstanceOf(j, "Int")) |
---|
26 | 27 | | then { |
---|
27 | | - | let j = i |
---|
28 | | - | j |
---|
| 28 | + | let k = j |
---|
| 29 | + | k |
---|
29 | 30 | | } |
---|
30 | 31 | | else 0 |
---|
31 | 32 | | } |
---|
32 | | - | let m = (l + g) |
---|
33 | | - | let n = { |
---|
34 | | - | let i = getInteger(this, e) |
---|
35 | | - | if ($isInstanceOf(i, "Int")) |
---|
| 33 | + | let n = (m + h) |
---|
| 34 | + | let o = { |
---|
| 35 | + | let j = getInteger(this, e) |
---|
| 36 | + | if ($isInstanceOf(j, "Int")) |
---|
36 | 37 | | then { |
---|
37 | | - | let j = i |
---|
38 | | - | j |
---|
| 38 | + | let k = j |
---|
| 39 | + | k |
---|
39 | 40 | | } |
---|
40 | 41 | | else 0 |
---|
41 | 42 | | } |
---|
42 | | - | let o = (n + g) |
---|
43 | | - | let p = getString(this, ("Incoming_Txn_Hash_" + d)) |
---|
44 | | - | if ((p == d)) |
---|
| 43 | + | let p = (o + h) |
---|
| 44 | + | let q = getString(this, ("Incoming_Txn_Hash_" + d)) |
---|
| 45 | + | if ((q == d)) |
---|
45 | 46 | | then throw((d + " Already Exist and released by Dapp.")) |
---|
46 | | - | else [IntegerEntry("Total_Incoming_Txns", k), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", m), IntegerEntry(e, o), ScriptTransfer(addressFromStringValue(e), g, unit)] |
---|
| 47 | + | else [IntegerEntry("Total_Incoming_Txns", l), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", n), IntegerEntry(e, p), ScriptTransfer(addressFromStringValue(e), h, unit), StringEntry(f, e)] |
---|
47 | 48 | | } |
---|
48 | 49 | | |
---|
49 | 50 | | |
---|
50 | 51 | | |
---|
51 | 52 | | @Callable(a) |
---|
52 | | - | func Delete (q,r,s,t) = [DeleteEntry(q), DeleteEntry(r), DeleteEntry(s), DeleteEntry(t)] |
---|
| 53 | + | func Delete (r,s,t,u) = [DeleteEntry(r), DeleteEntry(s), DeleteEntry(t), DeleteEntry(u)] |
---|
53 | 54 | | |
---|
54 | 55 | | |
---|