tx · HV3G4qAvppPb7HFdaJF6uckg9xWop26ESMbidt5rMYw6

3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g:  -0.01000000 Waves

2023.08.07 14:34 [2700116] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves

{ "type": 13, "id": "HV3G4qAvppPb7HFdaJF6uckg9xWop26ESMbidt5rMYw6", "fee": 1000000, "feeAssetId": null, "timestamp": 1691408019054, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "4hBDCchfY6XCZWjE2KgZVUPhuTvyMD5iagEaJf1P5MYd15dZwHfkcrJcneXrZQC8dwr1SFk4d5Lq1h6Q6ZrxANAG" ], "script": "base64:AAIFAAAAAAAAABQIAhIDCgEIEgMKAQgSBgoECAgICAAAAAAAAAADAAAAAWkBAAAAGHJlZ2lzdGVyX3BvbHlnb25fYWRkcmVzcwAAAAEAAAAPUG9seWdvbl9BZGRyZXNzBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAEmZldGNoX3ByZV9yZWdpc3RlcgkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwUAAAAPUG9seWdvbl9BZGRyZXNzBAAAABRyZWFkX2ZpcnN0X3R3b19jaGFycwkAAS8AAAACBQAAAA9Qb2x5Z29uX0FkZHJlc3MAAAAAAAAAAAIEAAAAFWVuc3VyZV9hZGRyZXNzX3ByZWZpeAIAAAACMHgDCQEAAAACIT0AAAACCQABMQAAAAEFAAAAD1BvbHlnb25fQWRkcmVzcwAAAAAAAAAAKgkAAAIAAAABAgAAAHlFbnRlcmVkIEFkZHJlc3MgbGVuZ3RoIGlzIFdyb25nLCBBZGRyZXNzIGxlbmd0aCBzaG91bGQgYmUgNDIgY2h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NzBAAAABFyZWFkX2luY29taW5nX3R4bgQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAABNUb3RhbF9JbmNvbWluZ19UeG5zAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAAEnRvdGFsX2luY29taW5nX3R4bgkAAGQAAAACBQAAABFyZWFkX2luY29taW5nX3R4bgAAAAAAAAAAAQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAATVG90YWxfSW5jb21pbmdfVHhucwUAAAASdG90YWxfaW5jb21pbmdfdHhuCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAABFnZXRfaW5jb21pbmdfaGFzaAkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAABNnZXRfaW5jb21pbmdfYW1vdW50BQAAAANuaWwAAAABaQEAAAAGRGVsZXRlAAAABAAAAANLZXkAAAAES2V5MQAAAARLZXkyAAAABEtleTMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADS2V5CQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTEJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkzBQAAAANuaWwAAAAAKQQQjA==", "height": 2700116, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2TaFmRkMUNYzJe6EMASxKoPd6Wr6ENyQmoaFALhurq4z Next: 91jYKpLqW6U9oTXWF8nmKSoVJ3R7LRrPdDCarTo8CBz5 Diff:
OldNewDifferences
66 @Callable(a)
77 func register_polygon_address (b) = {
88 let c = toBase58String(a.caller.bytes)
9- let d = getString(this, c)
9+ let d = getStringValue(this, b)
1010 let e = take(b, 2)
1111 let f = "0x"
1212 if ((size(b) != 42))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func register_polygon_address (b) = {
88 let c = toBase58String(a.caller.bytes)
9- let d = getString(this, c)
9+ let d = getStringValue(this, b)
1010 let e = take(b, 2)
1111 let f = "0x"
1212 if ((size(b) != 42))
1313 then throw("Entered Address length is Wrong, Address length should be 42 chars. Please Enter a valid Polygon Address starts with '0x'")
1414 else if ((e != f))
1515 then throw("Wrong Polygon Address, Prefix must start with '0x'")
1616 else if ((d == b))
1717 then throw(("Address Already Registered by " + getStringValue(this, c)))
1818 else [StringEntry(c, b)]
1919 }
2020
2121
2222
2323 @Callable(a)
2424 func post_incoming_polygon_txn (g) = {
2525 let h = split(g, "_")
2626 let i = h[0]
2727 let j = h[1]
2828 let k = h[2]
2929 let l = getStringValue(this, i)
3030 let m = {
3131 let n = getInteger(this, "Total_Incoming_Txns")
3232 if ($isInstanceOf(n, "Int"))
3333 then {
3434 let o = n
3535 o
3636 }
3737 else 0
3838 }
3939 let p = (m + 1)
4040 [IntegerEntry("Total_Incoming_Txns", p), IntegerEntry(j, parseIntValue(k))]
4141 }
4242
4343
4444
4545 @Callable(a)
4646 func Delete (q,r,s,t) = [DeleteEntry(q), DeleteEntry(r), DeleteEntry(s), DeleteEntry(t)]
4747
4848

github/deemru/w8io/169f3d6 
23.29 ms