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