tx · GRX4QPvj32CDaU12NSPJM7eaYUNvBhtmLbQPa9WVPhRr 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g: -0.01000000 Waves 2023.08.07 18:15 [2700335] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves
{ "type": 13, "id": "GRX4QPvj32CDaU12NSPJM7eaYUNvBhtmLbQPa9WVPhRr", "fee": 1000000, "feeAssetId": null, "timestamp": 1691421308368, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "4VHttfHNy4MffAkvppe6Co3p7eumYUijhnKtwwDdfkjVNjMqkepZzV9ABs7SSUrRL9iQWDeF8zVY8YsAjFFE96qX" ], "script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABNnZXRfaW5jb21pbmdfYW1vdW50CQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAgQAAAAXY29udmVydF9pbmNvbWluZ19hbW91bnQJAABrAAAAAwkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAABNnZXRfaW5jb21pbmdfYW1vdW50AAAAAAAAAAABAAAAAAJUC+QABAAAABFyZWFkX2luY29taW5nX3R4bgQAAAAHJG1hdGN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kABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkzBQAAAANuaWwAAAAAIZe/lQ==", "height": 2700335, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GFcCCMFsLSPCCy61oJTFMz9URuGo6tqgvyyqpy6pqnMb Next: ZKZNd4frAKW2kJdJUxATtAkcUjWUysqHUQctZCHUQA2 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 | 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 = getString(this, ("Incoming_Txn_Hash_" + d)) | |
24 | 24 | let m = { | |
25 | 25 | let i = getInteger(this, "Total_Funds_Deposited") | |
26 | 26 | if ($isInstanceOf(i, "Int")) | |
27 | 27 | then { | |
28 | 28 | let j = i | |
29 | 29 | j | |
30 | 30 | } | |
31 | 31 | else 0 | |
32 | 32 | } | |
33 | 33 | let n = (m + g) | |
34 | 34 | let o = { | |
35 | 35 | let i = getInteger(this, e) | |
36 | 36 | if ($isInstanceOf(i, "Int")) | |
37 | 37 | then { | |
38 | 38 | let j = i | |
39 | 39 | j | |
40 | 40 | } | |
41 | 41 | else 0 | |
42 | 42 | } | |
43 | 43 | let p = (o + g) | |
44 | 44 | if ((l == ("Incoming_Txn_Hash_" + d))) | |
45 | 45 | then throw((("Txn ID:" + d) + " is already claimed.")) | |
46 | 46 | else [IntegerEntry("Total_Incoming_Txns", k), StringEntry(("Incoming_Txn_Hash_" + d), d), IntegerEntry("Total_Funds_Deposited", n), IntegerEntry(e, p), StringEntry(toString(k), b), ScriptTransfer(addressFromStringValue(e), g, unit)] | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | ||
51 | 51 | @Callable(a) | |
52 | 52 | func Delete (q,r,s,t) = [DeleteEntry(q), DeleteEntry(r), DeleteEntry(s), DeleteEntry(t)] | |
53 | 53 | ||
54 | 54 |
github/deemru/w8io/169f3d6 33.01 ms ◑