tx · 43pTvML6sqVVfGrgoAnLuGRt69BVMGyJMtfND5HpCwqC 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g: -0.01000000 Waves 2023.08.07 13:39 [2700061] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves
{ "type": 13, "id": "43pTvML6sqVVfGrgoAnLuGRt69BVMGyJMtfND5HpCwqC", "fee": 1000000, "feeAssetId": null, "timestamp": 1691404788440, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "549xfZBn1kkkRch9xCMT9fW8tBv17vQSS5qEXP1Tj7eApgrg95GC8M3Ay2ewChdRR6p2YFyCvSRe8vGA1Xwi97rB" ], "script": "base64:AAIFAAAAAAAAABQIAhIDCgEIEgMKAQgSBgoECAgICAAAAAAAAAADAAAAAWkBAAAAGHJlZ2lzdGVyX3BvbHlnb25fYWRkcmVzcwAAAAEAAAAPUG9seWdvbl9BZGRyZXNzBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAFHJlYWRfZmlyc3RfdHdvX2NoYXJzCQABLwAAAAIFAAAAD1BvbHlnb25fQWRkcmVzcwAAAAAAAAAAAgQAAAAVZW5zdXJlX2FkZHJlc3NfcHJlZml4AgAAAAIweAMJAQAAAAIhPQAAAAIJAAExAAAAAQUAAAAPUG9seWdvbl9BZGRyZXNzAAAAAAAAAAAqCQAAAgAAAAECAAAAeUVudGVyZWQgQWRkcmVzcyBsZW5ndGggaXMgV3JvbmcsIEFkZHJlc3MgbGVuZ3RoIHNob3VsZCBiZSA0MiBjaGFycy4gUGxlYXNlIEVudGVyIGEgdmFsaWQgUG9seWdvbiBBZGRyZXNzIHN0YXJ0cyB3aXRoICcweCcDCQEAAAACIT0AAAACBQAAABRyZWFkX2Z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UZ2V0X2luY29taW5nX2FkZHJlc3MFAAAAA25pbAAAAAFpAQAAAAZEZWxldGUAAAAEAAAAA0tleQAAAARLZXkxAAAABEtleTIAAAAES2V5MwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANLZXkJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTMFAAAAA25pbAAAAADZ8CHO", "height": 2700061, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4nU6GWtYodqrhD3LwHSxd1HAejnLxMuYLSzzZpVtLsoL Next: ETGREjpTdEuMALhKRFvSsX71DL3HQ9WPqXXudp5HE2Nm Diff:
Old | New | Differences | |
---|---|---|---|
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | + | ||
36 | + | @Callable(i) | |
37 | + | func Delete (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)] | |
38 | + | ||
39 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func register_polygon_address (Polygon_Address) = { | |
8 | 8 | let currentKey = toBase58String(i.caller.bytes) | |
9 | 9 | let read_first_two_chars = take(Polygon_Address, 2) | |
10 | 10 | let ensure_address_prefix = "0x" | |
11 | 11 | if ((size(Polygon_Address) != 42)) | |
12 | 12 | then throw("Entered Address length is Wrong, Address length should be 42 chars. Please Enter a valid Polygon Address starts with '0x'") | |
13 | 13 | else if ((read_first_two_chars != ensure_address_prefix)) | |
14 | 14 | then throw("Wrong Polygon Address, Prefix must start with '0x'") | |
15 | 15 | else [StringEntry(("Polygon_Address_" + currentKey), Polygon_Address)] | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | ||
20 | 20 | @Callable(i) | |
21 | 21 | func post_incoming_polygon_txn (Incoming_Txn) = { | |
22 | 22 | let read_incoming_txn = match getInteger(this, "Total_Incoming_Txns") { | |
23 | 23 | case a: Int => | |
24 | 24 | a | |
25 | 25 | case _ => | |
26 | 26 | 0 | |
27 | 27 | } | |
28 | 28 | let total_incoming_txn = (read_incoming_txn + 1) | |
29 | 29 | let split_incoming_txn = split(Incoming_Txn, "_") | |
30 | 30 | let get_incoming_address = split_incoming_txn[0] | |
31 | 31 | [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry((toString(total_incoming_txn) + "_Polygon_Incoming_Txn"), Incoming_Txn), StringEntry("Incoming_Address", get_incoming_address)] | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | + | ||
36 | + | @Callable(i) | |
37 | + | func Delete (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)] | |
38 | + | ||
39 | + |
github/deemru/w8io/169f3d6 22.21 ms ◑