tx · BjamD5Uy11uWkyD4ZMLj4UTdXELKXRspoZDoJyfrEVnL

3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g:  -0.01000000 Waves

2023.08.07 13:09 [2700031] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves

{ "type": 13, "id": "BjamD5Uy11uWkyD4ZMLj4UTdXELKXRspoZDoJyfrEVnL", "fee": 1000000, "feeAssetId": null, "timestamp": 1691403013392, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "3WTvnCN2G65Vy6UTnyg2Vejq8Wgjs8ugue14J4QsQKuAcu6oRUUCPuzNPpDyZpmiN4Ehr8TT1pCLkwrFrWJY7v6z" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAAAAAAAAgAAAAFpAQAAABhyZWdpc3Rlcl9wb2x5Z29uX2FkZHJlc3MAAAABAAAAD1BvbHlnb25fQWRkcmVzcwQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAABRyZWFkX2ZpcnN0X3R3b19jaGFycwkAAS8AAAACBQAAAA9Qb2x5Z29uX0FkZHJlc3MAAAAAAAAAAAIEAAAAFWVuc3VyZV9hZGRyZXNzX3ByZWZpeAIAAAACMHgDCQEAAAACIT0AAAACCQABMQAAAAEFAAAAD1BvbHlnb25fQWRkcmVzcwAAAAAAAAAAKgkAAAIAAAABAgAAAHlFbnRlcmVkIEFkZHJlc3MgbGVuZ3RoIGlzIFdyb25nLCBBZGRyZXNzIGxlbmd0aCBzaG91bGQgYmUgNDIgY2hhcnMuIFBsZWFzZSBFbnRlciBhIHZhbGlkIFBvbHlnb24gQWRkcmVzcyBzdGFydHMgd2l0aCAnMHgnAwkBAAAAAiE9AAAAAgUAAAAUcmVhZF9maXJzdF90d29fY2hhcnMFAAAAFWVuc3VyZV9hZGRyZXNzX3ByZWZpeAkAAAIAAAABAgAAADJXcm9uZyBQb2x5Z29uIEFkZHJlc3MsIFByZWZpeCBtdXN0IHN0YXJ0IHdpdGggJzB4JwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAAEFBvbHlnb25fQWRkcmVzc18FAAAACmN1cnJlbnRLZXkFAAAAD1BvbHlnb25fQWRkcmVzcwUAAAADbmlsAAAAAWkBAAAAGXBvc3RfaW5jb21pbmdfcG9seWdvbl90eG4AAAABAAAADEluY29taW5nX1R4bgQAAAARcmVhZF9pbmNvbWluZ190eG4EAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwIAAAATVG90YWxfSW5jb21pbmdfVHhucwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABAAAABJ0b3RhbF9pbmNvbWluZ190eG4JAABkAAAAAgUAAAARcmVhZF9pbmNvbWluZ190eG4AAAAAAAAAAAEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAE1RvdGFsX0luY29taW5nX1R4bnMFAAAAEnRvdGFsX2luY29taW5nX3R4bgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAASdG90YWxfaW5jb21pbmdfdHhuAgAAABVfUG9seWdvbl9JbmNvbWluZ19UeG4FAAAADEluY29taW5nX1R4bgUAAAADbmlsAAAAAFmMCl4=", "height": 2700031, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: j7YsdCRKVM9JVJyh7KgRE3LskY52weGq4WnrKRexmRr Next: 4nU6GWtYodqrhD3LwHSxd1HAejnLxMuYLSzzZpVtLsoL Diff:
OldNewDifferences
2626 0
2727 }
2828 let total_incoming_txn = (read_incoming_txn + 1)
29-[IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry((toString(total_incoming_txn) + "Polygon_Incoming_Txn"), Incoming_Txn)]
29+[IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry((toString(total_incoming_txn) + "_Polygon_Incoming_Txn"), Incoming_Txn)]
3030 }
3131
3232
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)
1010 let ensure_address_prefix = "0x"
1111 if ((size(Polygon_Address) != 42))
1212 then throw("Entered Address length is Wrong, Address length should be 42 chars. Please Enter a valid Polygon Address starts with '0x'")
1313 else if ((read_first_two_chars != ensure_address_prefix))
1414 then throw("Wrong Polygon Address, Prefix must start with '0x'")
1515 else [StringEntry(("Polygon_Address_" + currentKey), Polygon_Address)]
1616 }
1717
1818
1919
2020 @Callable(i)
2121 func post_incoming_polygon_txn (Incoming_Txn) = {
2222 let read_incoming_txn = match getInteger(this, "Total_Incoming_Txns") {
2323 case a: Int =>
2424 a
2525 case _ =>
2626 0
2727 }
2828 let total_incoming_txn = (read_incoming_txn + 1)
29-[IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry((toString(total_incoming_txn) + "Polygon_Incoming_Txn"), Incoming_Txn)]
29+[IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry((toString(total_incoming_txn) + "_Polygon_Incoming_Txn"), Incoming_Txn)]
3030 }
3131
3232

github/deemru/w8io/169f3d6 
19.44 ms