tx · EnRHoAkVV6TRaEg8ZfQwvhjJduBzYRYbnc84Z4FjHieh 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g: -0.01000000 Waves 2023.08.07 17:39 [2700296] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves
{ "type": 13, "id": "EnRHoAkVV6TRaEg8ZfQwvhjJduBzYRYbnc84Z4FjHieh", "fee": 1000000, "feeAssetId": null, "timestamp": 1691419186366, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "4AcqTKGye9iJrV5TVFjUxghTeCY8VkhxqY6YYFpy9A7SQFADQBd6fQLHFxeumPWDEeBEHCadG8Fp6A5byeVPggBC" ], "script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABNnZXRfaW5jb21pbmdfYW1vdW50CQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAgQAAAAXY29udmVydF9pbmNvbWluZ19hbW91bnQJAABrAAAAAwkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAABNnZXRfaW5jb21pbmdfYW1vdW50AAAAAAAAAAABAAAAAAJUC+QABAAAABFyZWFkX2luY29taW5nX3R4bgQAAAAHJG1h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QAAAAtEZWxldGVFbnRyeQAAAAEFAAAAA0tleQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkxCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MwUAAAADbmlsAAAAAI/8fK4=", "height": 2700296, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HhWr51wuEnHxs7MpmPQsHQQ6zCmLaKhqrt6DHwqwwJrJ Next: AfAx6eJexXtkFRTDJtEJ2RUqmMTPbGpEja1jNp1ea9Me Diff:
Old | New | Differences | |
---|---|---|---|
21 | 21 | } | |
22 | 22 | let k = (h + 1) | |
23 | 23 | let l = { | |
24 | - | let i = | |
24 | + | let i = getString(this, ("get_incoming_hash_" + d)) | |
25 | 25 | if ($isInstanceOf(i, "String")) | |
26 | 26 | then { | |
27 | 27 | let j = i |
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 | 13 | let h = { | |
14 | 14 | let i = getInteger(this, "Total_Incoming_Txns") | |
15 | 15 | if ($isInstanceOf(i, "Int")) | |
16 | 16 | then { | |
17 | 17 | let j = i | |
18 | 18 | j | |
19 | 19 | } | |
20 | 20 | else 0 | |
21 | 21 | } | |
22 | 22 | let k = (h + 1) | |
23 | 23 | let l = { | |
24 | - | let i = | |
24 | + | let i = getString(this, ("get_incoming_hash_" + d)) | |
25 | 25 | if ($isInstanceOf(i, "String")) | |
26 | 26 | then { | |
27 | 27 | let j = i | |
28 | 28 | j | |
29 | 29 | } | |
30 | 30 | else 0 | |
31 | 31 | } | |
32 | 32 | let m = l | |
33 | 33 | let n = { | |
34 | 34 | let i = getInteger(this, "Total_Funds_Deposited") | |
35 | 35 | if ($isInstanceOf(i, "Int")) | |
36 | 36 | then { | |
37 | 37 | let j = i | |
38 | 38 | j | |
39 | 39 | } | |
40 | 40 | else 0 | |
41 | 41 | } | |
42 | 42 | let o = (n + g) | |
43 | 43 | let p = { | |
44 | 44 | let i = getInteger(this, e) | |
45 | 45 | if ($isInstanceOf(i, "Int")) | |
46 | 46 | then { | |
47 | 47 | let j = i | |
48 | 48 | j | |
49 | 49 | } | |
50 | 50 | else 0 | |
51 | 51 | } | |
52 | 52 | let q = (p + g) | |
53 | 53 | if ((m == d)) | |
54 | 54 | then throw((("Txn ID:" + d) + " is already claimed.")) | |
55 | 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)] | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | ||
60 | 60 | @Callable(a) | |
61 | 61 | func Delete (r,s,t,u) = [DeleteEntry(r), DeleteEntry(s), DeleteEntry(t), DeleteEntry(u)] | |
62 | 62 | ||
63 | 63 |
github/deemru/w8io/169f3d6 23.30 ms ◑