tx · HhWr51wuEnHxs7MpmPQsHQQ6zCmLaKhqrt6DHwqwwJrJ
3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g: -0.01000000 Waves
2023.08.07 17:32 [2700288] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves
{
"type": 13,
"id": "HhWr51wuEnHxs7MpmPQsHQQ6zCmLaKhqrt6DHwqwwJrJ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1691418726139,
"version": 2,
"chainId": 84,
"sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g",
"senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3",
"proofs": [
"4Ewu3FBgvhiAmpwctS1LvPu8WgDaVSCTmwSKihN9Av25NtWYNtNNZHxWaRZH9BfWqtfv8nTzbbaTT5Q49C51ACHn"
],
"script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABNnZXRfaW5jb21pbmdfYW1vdW50CQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAgQAAAAXY29udmVydF9pbmNvbWluZ19hbW91bnQJAABrAAAAAwkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAABNnZXRfaW5jb21pbmdfYW1vdW50AAAAAAAAAAABAAAAAAJUC+QABAAAABFyZWFkX2luY29taW5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AES2V5MwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANLZXkJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTMFAAAAA25pbAAAAABfhdqs",
"height": 2700288,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BGSkZo6Enh9CXbmHvY25U7WHgS2r8gYYDWnN6Diwdb1h
Next: EnRHoAkVV6TRaEg8ZfQwvhjJduBzYRYbnc84Z4FjHieh
Diff:
Old | New | | Differences |
---|
10 | 10 | | let e = c[1] |
---|
11 | 11 | | let f = c[2] |
---|
12 | 12 | | let g = fraction(parseIntValue(f), 1, 10000000000) |
---|
13 | | - | let h = getStringValue(this, ("get_incoming_hash" + d)) |
---|
14 | | - | let i = { |
---|
15 | | - | let j = getInteger(this, "Total_Incoming_Txns") |
---|
16 | | - | if ($isInstanceOf(j, "Int")) |
---|
| 13 | + | let h = { |
---|
| 14 | + | let i = getInteger(this, "Total_Incoming_Txns") |
---|
| 15 | + | if ($isInstanceOf(i, "Int")) |
---|
17 | 16 | | then { |
---|
18 | | - | let k = j |
---|
19 | | - | k |
---|
| 17 | + | let j = i |
---|
| 18 | + | j |
---|
20 | 19 | | } |
---|
21 | 20 | | else 0 |
---|
22 | 21 | | } |
---|
23 | | - | let l = (i + 1) |
---|
24 | | - | let m = { |
---|
25 | | - | let j = getInteger(this, "Total_Funds_Deposited") |
---|
26 | | - | if ($isInstanceOf(j, "Int")) |
---|
| 22 | + | let k = (h + 1) |
---|
| 23 | + | let l = { |
---|
| 24 | + | let i = getStringValue(this, ("get_incoming_hash_" + d)) |
---|
| 25 | + | if ($isInstanceOf(i, "String")) |
---|
27 | 26 | | then { |
---|
28 | | - | let k = j |
---|
29 | | - | k |
---|
| 27 | + | let j = i |
---|
| 28 | + | j |
---|
30 | 29 | | } |
---|
31 | 30 | | else 0 |
---|
32 | 31 | | } |
---|
33 | | - | let n = (m + g) |
---|
34 | | - | let o = { |
---|
35 | | - | let j = getInteger(this, e) |
---|
36 | | - | if ($isInstanceOf(j, "Int")) |
---|
| 32 | + | let m = l |
---|
| 33 | + | let n = { |
---|
| 34 | + | let i = getInteger(this, "Total_Funds_Deposited") |
---|
| 35 | + | if ($isInstanceOf(i, "Int")) |
---|
37 | 36 | | then { |
---|
38 | | - | let k = j |
---|
39 | | - | k |
---|
| 37 | + | let j = i |
---|
| 38 | + | j |
---|
40 | 39 | | } |
---|
41 | 40 | | else 0 |
---|
42 | 41 | | } |
---|
43 | | - | let p = (o + g) |
---|
44 | | - | if ((h == d)) |
---|
| 42 | + | let o = (n + g) |
---|
| 43 | + | let p = { |
---|
| 44 | + | let i = getInteger(this, e) |
---|
| 45 | + | if ($isInstanceOf(i, "Int")) |
---|
| 46 | + | then { |
---|
| 47 | + | let j = i |
---|
| 48 | + | j |
---|
| 49 | + | } |
---|
| 50 | + | else 0 |
---|
| 51 | + | } |
---|
| 52 | + | let q = (p + g) |
---|
| 53 | + | if ((m == d)) |
---|
45 | 54 | | then throw((("Txn ID:" + d) + " is already claimed.")) |
---|
46 | | - | else [IntegerEntry("Total_Incoming_Txns", l), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", n), IntegerEntry(e, p), StringEntry(toString(l), b), ScriptTransfer(addressFromStringValue(e), g, unit)] |
---|
| 55 | + | else [IntegerEntry("Total_Incoming_Txns", k), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", o), IntegerEntry(e, q), StringEntry(toString(k), b), ScriptTransfer(addressFromStringValue(e), g, unit)] |
---|
47 | 56 | | } |
---|
48 | 57 | | |
---|
49 | 58 | | |
---|
50 | 59 | | |
---|
51 | 60 | | @Callable(a) |
---|
52 | | - | func Delete (q,r,s,t) = [DeleteEntry(q), DeleteEntry(r), DeleteEntry(s), DeleteEntry(t)] |
---|
| 61 | + | func Delete (r,s,t,u) = [DeleteEntry(r), DeleteEntry(s), DeleteEntry(t), DeleteEntry(u)] |
---|
53 | 62 | | |
---|
54 | 63 | | |
---|
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 | 11 | | let f = c[2] |
---|
12 | 12 | | let g = fraction(parseIntValue(f), 1, 10000000000) |
---|
13 | | - | let h = getStringValue(this, ("get_incoming_hash" + d)) |
---|
14 | | - | let i = { |
---|
15 | | - | let j = getInteger(this, "Total_Incoming_Txns") |
---|
16 | | - | if ($isInstanceOf(j, "Int")) |
---|
| 13 | + | let h = { |
---|
| 14 | + | let i = getInteger(this, "Total_Incoming_Txns") |
---|
| 15 | + | if ($isInstanceOf(i, "Int")) |
---|
17 | 16 | | then { |
---|
18 | | - | let k = j |
---|
19 | | - | k |
---|
| 17 | + | let j = i |
---|
| 18 | + | j |
---|
20 | 19 | | } |
---|
21 | 20 | | else 0 |
---|
22 | 21 | | } |
---|
23 | | - | let l = (i + 1) |
---|
24 | | - | let m = { |
---|
25 | | - | let j = getInteger(this, "Total_Funds_Deposited") |
---|
26 | | - | if ($isInstanceOf(j, "Int")) |
---|
| 22 | + | let k = (h + 1) |
---|
| 23 | + | let l = { |
---|
| 24 | + | let i = getStringValue(this, ("get_incoming_hash_" + d)) |
---|
| 25 | + | if ($isInstanceOf(i, "String")) |
---|
27 | 26 | | then { |
---|
28 | | - | let k = j |
---|
29 | | - | k |
---|
| 27 | + | let j = i |
---|
| 28 | + | j |
---|
30 | 29 | | } |
---|
31 | 30 | | else 0 |
---|
32 | 31 | | } |
---|
33 | | - | let n = (m + g) |
---|
34 | | - | let o = { |
---|
35 | | - | let j = getInteger(this, e) |
---|
36 | | - | if ($isInstanceOf(j, "Int")) |
---|
| 32 | + | let m = l |
---|
| 33 | + | let n = { |
---|
| 34 | + | let i = getInteger(this, "Total_Funds_Deposited") |
---|
| 35 | + | if ($isInstanceOf(i, "Int")) |
---|
37 | 36 | | then { |
---|
38 | | - | let k = j |
---|
39 | | - | k |
---|
| 37 | + | let j = i |
---|
| 38 | + | j |
---|
40 | 39 | | } |
---|
41 | 40 | | else 0 |
---|
42 | 41 | | } |
---|
43 | | - | let p = (o + g) |
---|
44 | | - | if ((h == d)) |
---|
| 42 | + | let o = (n + g) |
---|
| 43 | + | let p = { |
---|
| 44 | + | let i = getInteger(this, e) |
---|
| 45 | + | if ($isInstanceOf(i, "Int")) |
---|
| 46 | + | then { |
---|
| 47 | + | let j = i |
---|
| 48 | + | j |
---|
| 49 | + | } |
---|
| 50 | + | else 0 |
---|
| 51 | + | } |
---|
| 52 | + | let q = (p + g) |
---|
| 53 | + | if ((m == d)) |
---|
45 | 54 | | then throw((("Txn ID:" + d) + " is already claimed.")) |
---|
46 | | - | else [IntegerEntry("Total_Incoming_Txns", l), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", n), IntegerEntry(e, p), StringEntry(toString(l), b), ScriptTransfer(addressFromStringValue(e), g, unit)] |
---|
| 55 | + | else [IntegerEntry("Total_Incoming_Txns", k), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", o), IntegerEntry(e, q), StringEntry(toString(k), b), ScriptTransfer(addressFromStringValue(e), g, unit)] |
---|
47 | 56 | | } |
---|
48 | 57 | | |
---|
49 | 58 | | |
---|
50 | 59 | | |
---|
51 | 60 | | @Callable(a) |
---|
52 | | - | func Delete (q,r,s,t) = [DeleteEntry(q), DeleteEntry(r), DeleteEntry(s), DeleteEntry(t)] |
---|
| 61 | + | func Delete (r,s,t,u) = [DeleteEntry(r), DeleteEntry(s), DeleteEntry(t), DeleteEntry(u)] |
---|
53 | 62 | | |
---|
54 | 63 | | |
---|