tx · 4SuseFuneuJmViaoft24EAL7MBxK5qKQ4fZ3pcq1TwHV
3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g: -0.01000000 Waves
2023.08.07 16:45 [2700242] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves
{
"type": 13,
"id": "4SuseFuneuJmViaoft24EAL7MBxK5qKQ4fZ3pcq1TwHV",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1691415947571,
"version": 2,
"chainId": 84,
"sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g",
"senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3",
"proofs": [
"236ENeiAVNsk7LhKy2ET2xVau4831hXJfuUasFbmPHtKDTGz6xwem3H7ktV5PMJG215Mgr8WtYE89rK9dVofHt28"
],
"script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABNnZXRfaW5jb21pbmdfYW1vdW50CQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAgQAAAAXY29udmVydF9pbmNvbWluZ19hbW91bnQJAABrAAAAAwkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAABNnZXRfaW5jb21pbmdfYW1vdW50AAAAAAAAAAABAAAAAAJUC+QABAAAABFyZWFkX2luY29taW5nX3R4bgQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAABNUb3RhbF9JbmNvbWluZ19UeG5zAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAAEnRvdGFsX2luY29taW5nX3R4bgkAAGQAAAACBQAAABFyZWFkX2luY29taW5nX3R4bgAAAAAAAAAAAQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAATVG90YWxfSW5jb21pbmdfVHhucwUAAAASdG90YWxfaW5jb21pbmdfdHhuCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAAFGdldF9pbmNvbWluZ19hZGRyZXNzBQAAABdjb252ZXJ0X2luY29taW5nX2Ftb3VudAUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAABkRlbGV0ZQAAAAQAAAADS2V5AAAABEtleTEAAAAES2V5MgAAAARLZXkzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAAA0tleQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkxCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MwUAAAADbmlsAAAAAEkULRw=",
"height": 2700242,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8SozkE4RiXgrNcn4f8YAPyM5cKghnszNSeXKvTPjCZdC
Next: EtwgE4Vbs2UFteGZSTnWZaNGnapgwryyCR569T3zwbtD
Diff:
Old | New | | Differences |
---|
17 | 17 | | 0 |
---|
18 | 18 | | } |
---|
19 | 19 | | let total_incoming_txn = (read_incoming_txn + 1) |
---|
20 | | - | [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), ScriptTransfer(addressFromStringValue(get_incoming_address), parseIntValue(get_incoming_amount), unit)] |
---|
| 20 | + | [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), ScriptTransfer(addressFromStringValue(get_incoming_address), convert_incoming_amount, unit)] |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
Full:
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 post_incoming_polygon_txn (Incoming_Txn) = { |
---|
8 | 8 | | let split_incoming_txn = split(Incoming_Txn, "_") |
---|
9 | 9 | | let get_incoming_hash = split_incoming_txn[0] |
---|
10 | 10 | | let get_incoming_address = split_incoming_txn[1] |
---|
11 | 11 | | let get_incoming_amount = split_incoming_txn[2] |
---|
12 | 12 | | let convert_incoming_amount = fraction(parseIntValue(get_incoming_amount), 1, 10000000000) |
---|
13 | 13 | | let read_incoming_txn = match getInteger(this, "Total_Incoming_Txns") { |
---|
14 | 14 | | case a: Int => |
---|
15 | 15 | | a |
---|
16 | 16 | | case _ => |
---|
17 | 17 | | 0 |
---|
18 | 18 | | } |
---|
19 | 19 | | let total_incoming_txn = (read_incoming_txn + 1) |
---|
20 | | - | [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), ScriptTransfer(addressFromStringValue(get_incoming_address), parseIntValue(get_incoming_amount), unit)] |
---|
| 20 | + | [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), ScriptTransfer(addressFromStringValue(get_incoming_address), convert_incoming_amount, unit)] |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
25 | 25 | | @Callable(i) |
---|
26 | 26 | | func Delete (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)] |
---|
27 | 27 | | |
---|
28 | 28 | | |
---|