tx · HRuiw7GXBuH2NJ9y9UmmVAPKqcYmLBc2DK1HNUzMyGPi

3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g:  -0.01000000 Waves

2023.08.07 17:53 [2700313] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves

{ "type": 13, "id": "HRuiw7GXBuH2NJ9y9UmmVAPKqcYmLBc2DK1HNUzMyGPi", "fee": 1000000, "feeAssetId": null, "timestamp": 1691419990167, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "2ibQsYew5uJnJ7GMigqMdKMYUdiiW9Mw7HpazVYS96dfhJkwRwW49e7NuN7dfjr4mWtrFNJ8Yd6CXpfvmZNz1rib" ], "script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABNnZXRfaW5jb21pbmdfYW1vdW50CQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAgQAAAAXY29udmVydF9pbmNvbWluZ19hbW91bnQJAABrAAAAAwkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAABNnZXRfaW5jb21pbmdfYW1vdW50AAAAAAAAAAABAAAAAAJUC+QABAAAABFyZWFkX2luY29taW5nX3R4bgQ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AAAABEtleTMFAAAAA25pbAAAAADkAK3S", "height": 2700313, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AfAx6eJexXtkFRTDJtEJ2RUqmMTPbGpEja1jNp1ea9Me Next: B8fKs6gB6ecQARvHoKUzfgQ4s5ojQda8Nmg8M2q6UdGC Diff:
OldNewDifferences
2020 else 0
2121 }
2222 let k = (h + 1)
23- let l = {
24- let i = getString(this, ("get_incoming_hash_" + d))
25- if ($isInstanceOf(i, "String"))
26- then {
27- let j = i
28- j
29- }
30- else ""
31- }
32- let m = l
33- let n = {
23+ let l = getString(this, ("get_incoming_hash_" + d))
24+ let m = {
3425 let i = getInteger(this, "Total_Funds_Deposited")
3526 if ($isInstanceOf(i, "Int"))
3627 then {
3930 }
4031 else 0
4132 }
42- let o = (n + g)
43- let p = {
33+ let n = (m + g)
34+ let o = {
4435 let i = getInteger(this, e)
4536 if ($isInstanceOf(i, "Int"))
4637 then {
4940 }
5041 else 0
5142 }
52- let q = (p + g)
53- if ((m == d))
43+ let p = (o + g)
44+ if ((l == d))
5445 then throw((("Txn ID:" + d) + " is already claimed."))
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)]
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)]
5647 }
5748
5849
5950
6051 @Callable(a)
61-func Delete (r,s,t,u) = [DeleteEntry(r), DeleteEntry(s), DeleteEntry(t), DeleteEntry(u)]
52+func Delete (q,r,s,t) = [DeleteEntry(q), DeleteEntry(r), DeleteEntry(s), DeleteEntry(t)]
6253
6354
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func post_incoming_polygon_txn (b) = {
88 let c = split(b, "_")
99 let d = c[0]
1010 let e = c[1]
1111 let f = c[2]
1212 let g = fraction(parseIntValue(f), 1, 10000000000)
1313 let h = {
1414 let i = getInteger(this, "Total_Incoming_Txns")
1515 if ($isInstanceOf(i, "Int"))
1616 then {
1717 let j = i
1818 j
1919 }
2020 else 0
2121 }
2222 let k = (h + 1)
23- let l = {
24- let i = getString(this, ("get_incoming_hash_" + d))
25- if ($isInstanceOf(i, "String"))
26- then {
27- let j = i
28- j
29- }
30- else ""
31- }
32- let m = l
33- let n = {
23+ let l = getString(this, ("get_incoming_hash_" + d))
24+ let m = {
3425 let i = getInteger(this, "Total_Funds_Deposited")
3526 if ($isInstanceOf(i, "Int"))
3627 then {
3728 let j = i
3829 j
3930 }
4031 else 0
4132 }
42- let o = (n + g)
43- let p = {
33+ let n = (m + g)
34+ let o = {
4435 let i = getInteger(this, e)
4536 if ($isInstanceOf(i, "Int"))
4637 then {
4738 let j = i
4839 j
4940 }
5041 else 0
5142 }
52- let q = (p + g)
53- if ((m == d))
43+ let p = (o + g)
44+ if ((l == d))
5445 then throw((("Txn ID:" + d) + " is already claimed."))
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)]
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)]
5647 }
5748
5849
5950
6051 @Callable(a)
61-func Delete (r,s,t,u) = [DeleteEntry(r), DeleteEntry(s), DeleteEntry(t), DeleteEntry(u)]
52+func Delete (q,r,s,t) = [DeleteEntry(q), DeleteEntry(r), DeleteEntry(s), DeleteEntry(t)]
6253
6354

github/deemru/w8io/169f3d6 
30.42 ms