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+QABAAAABFyZWFkX2luY29taW5nX3R4bgQAAAAHJG1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AQAAAAtEZWxldGVFbnRyeQAAAAEFAAAAA0tleQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkxCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MwUAAAADbmlsAAAAAI/8fK4=", "height": 2700296, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HhWr51wuEnHxs7MpmPQsHQQ6zCmLaKhqrt6DHwqwwJrJ Next: AfAx6eJexXtkFRTDJtEJ2RUqmMTPbGpEja1jNp1ea9Me Diff:
OldNewDifferences
2121 }
2222 let k = (h + 1)
2323 let l = {
24- let i = getStringValue(this, ("get_incoming_hash_" + d))
24+ let i = getString(this, ("get_incoming_hash_" + d))
2525 if ($isInstanceOf(i, "String"))
2626 then {
2727 let j = i
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)
2323 let l = {
24- let i = getStringValue(this, ("get_incoming_hash_" + d))
24+ let i = getString(this, ("get_incoming_hash_" + d))
2525 if ($isInstanceOf(i, "String"))
2626 then {
2727 let j = i
2828 j
2929 }
3030 else 0
3131 }
3232 let m = l
3333 let n = {
3434 let i = getInteger(this, "Total_Funds_Deposited")
3535 if ($isInstanceOf(i, "Int"))
3636 then {
3737 let j = i
3838 j
3939 }
4040 else 0
4141 }
4242 let o = (n + g)
4343 let p = {
4444 let i = getInteger(this, e)
4545 if ($isInstanceOf(i, "Int"))
4646 then {
4747 let j = i
4848 j
4949 }
5050 else 0
5151 }
5252 let q = (p + g)
5353 if ((m == d))
5454 then throw((("Txn ID:" + d) + " is already claimed."))
5555 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)]
5656 }
5757
5858
5959
6060 @Callable(a)
6161 func Delete (r,s,t,u) = [DeleteEntry(r), DeleteEntry(s), DeleteEntry(t), DeleteEntry(u)]
6262
6363

github/deemru/w8io/169f3d6 
23.30 ms