tx · 5PAouPpZz2qdF9QK9UaDSYWzzAhDiUW8d71Qk3rrLLS8

3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g:  -0.01000000 Waves

2023.08.07 14:07 [2700092] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves

{ "type": 13, "id": "5PAouPpZz2qdF9QK9UaDSYWzzAhDiUW8d71Qk3rrLLS8", "fee": 1000000, "feeAssetId": null, "timestamp": 1691406482899, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "43zaZtzkiCDCNmQPMJMAsHnx3v6RwqPvNpqRRh7Wv9S4KXCzajbCH7NZycKFxXFKH59EKhKNWwQRBLnnRJPqYupy" ], "script": "base64:AAIFAAAAAAAAABQIAhIDCgEIEgMKAQgSBgoECAgICAAAAAAAAAADAAAAAWkBAAAAGHJlZ2lzdGVyX3BvbHlnb25fYWRkcmVzcwAAAAEAAAAPUG9seWdvbl9BZGRyZXNzBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAFHJlYWRfZmlyc3RfdHdvX2NoYXJzCQABLwAAAAIFAAAAD1BvbHlnb25fQWRkcmVzcwAAAAAAAAAAAgQAAAAUcmVhZF9hZGRyZXNzX2lmX2V4aXQJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMFAAAAD1BvbHlnb25fQWRkcmVzcwQAAAAVZW5zdXJlX2FkZHJlc3NfcHJlZml4AgAAAAIweAMJAQAAAAIhPQAAAAIJAAExAAAAAQUAAAAPUG9seWdvbl9BZGRyZXNzAAAAAAAAAAAqCQAAAgAAAAECAAAAeUVudGVyZWQgQWRkcmVzcyBsZW5ndGggaXMgV3JvbmcsIEFkZHJlc3MgbGVuZ3RoIHNob3VsZCB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fVHhucwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABAAAABJ0b3RhbF9pbmNvbWluZ190eG4JAABkAAAAAgUAAAARcmVhZF9pbmNvbWluZ190eG4AAAAAAAAAAAEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAE1RvdGFsX0luY29taW5nX1R4bnMFAAAAEnRvdGFsX2luY29taW5nX3R4bgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAARZ2V0X2luY29taW5nX2hhc2gJAQAAAA1wYXJzZUludFZhbHVlAAAAAQUAAAATZ2V0X2luY29taW5nX2Ftb3VudAUAAAADbmlsAAAAAWkBAAAABkRlbGV0ZQAAAAQAAAADS2V5AAAABEtleTEAAAAES2V5MgAAAARLZXkzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAAA0tleQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkxCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MwUAAAADbmlsAAAAAHqf4OA=", "height": 2700092, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ETGREjpTdEuMALhKRFvSsX71DL3HQ9WPqXXudp5HE2Nm Next: 5GQ3LYfyx1WZRWiC9C8zVQobFt9JQjXZaCXrFDB5egNK Diff:
OldNewDifferences
77 func register_polygon_address (Polygon_Address) = {
88 let currentKey = toBase58String(i.caller.bytes)
99 let read_first_two_chars = take(Polygon_Address, 2)
10- let read_address_if_exit = getString(Polygon_Address)
10+ let read_address_if_exit = getStringValue(this, Polygon_Address)
1111 let ensure_address_prefix = "0x"
1212 if ((size(Polygon_Address) != 42))
1313 then throw("Entered Address length is Wrong, Address length should be 42 chars. Please Enter a valid Polygon Address starts with '0x'")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func register_polygon_address (Polygon_Address) = {
88 let currentKey = toBase58String(i.caller.bytes)
99 let read_first_two_chars = take(Polygon_Address, 2)
10- let read_address_if_exit = getString(Polygon_Address)
10+ let read_address_if_exit = getStringValue(this, Polygon_Address)
1111 let ensure_address_prefix = "0x"
1212 if ((size(Polygon_Address) != 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 ((read_first_two_chars != ensure_address_prefix))
1515 then throw("Wrong Polygon Address, Prefix must start with '0x'")
1616 else if ((read_address_if_exit == Polygon_Address))
1717 then throw("Address already Registered")
1818 else [StringEntry(Polygon_Address, currentKey)]
1919 }
2020
2121
2222
2323 @Callable(i)
2424 func post_incoming_polygon_txn (Incoming_Txn) = {
2525 let split_incoming_txn = split(Incoming_Txn, "_")
2626 let get_incoming_address = split_incoming_txn[0]
2727 let get_incoming_hash = split_incoming_txn[1]
2828 let get_incoming_amount = split_incoming_txn[2]
2929 let check_user_registerd_address = getStringValue(this, get_incoming_address)
3030 let read_incoming_txn = match getInteger(this, "Total_Incoming_Txns") {
3131 case a: Int =>
3232 a
3333 case _ =>
3434 0
3535 }
3636 let total_incoming_txn = (read_incoming_txn + 1)
3737 [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), IntegerEntry(get_incoming_hash, parseIntValue(get_incoming_amount))]
3838 }
3939
4040
4141
4242 @Callable(i)
4343 func Delete (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)]
4444
4545

github/deemru/w8io/169f3d6 
21.72 ms