tx · 9KvRx5oVhak5bvVU6M92iJ6ZRE9QkG4UMru88JTQb1iz

3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g:  -0.01000000 Waves

2023.08.08 11:23 [2701382] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves

{ "type": 13, "id": "9KvRx5oVhak5bvVU6M92iJ6ZRE9QkG4UMru88JTQb1iz", "fee": 1000000, "feeAssetId": null, "timestamp": 1691483011386, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "5LE5juM8sEiXpcZ1GCRjVwxg2LiQJM6ds2UVQPWaWqqL3f28M2duEbnWtRU8mauxZE55ZDrtKeHFo2K4J96JVaru" ], "script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABhnZXRfaW5jb21pbmdfYWRkcmVzc19oZXgJAAJcAAAAAQkAAZsAAAABBQAAABRnZXRfaW5jb21pbmdfYWRkcmVzcwQAAAATZ2V0X2luY29taW5nX2Ftb3VudAkAAZEAAAACBQAAABJzcGxpdF9pbmNvbWluZ190eG4AAAAAAAAAAAIEAAAAF2NvbnZlcnRfaW5jb21pbmdfYW1vdW50CQAAawAAAAMJAQAAAA1wYXJzZUludFZhbHVl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RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTMFAAAAA25pbAAAAADvI7e/", "height": 2701382, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H6dQTtqJGzEdQnsMvxK9yAQRHxXvTADvSrWFjUmMsBpA Next: 2QkY5E8Zt1Cu65DJP88tKf618sxjqgTrJ2oan8FwV42u Diff:
OldNewDifferences
88 let split_incoming_txn = split(Incoming_Txn, "_")
99 let get_incoming_hash = split_incoming_txn[0]
1010 let get_incoming_address = split_incoming_txn[1]
11+ let get_incoming_address_hex = toBase16String(toBytes(get_incoming_address))
1112 let get_incoming_amount = split_incoming_txn[2]
1213 let convert_incoming_amount = fraction(parseIntValue(get_incoming_amount), 1, 10000000000)
1314 let read_incoming_txn = match getInteger(this, "Total_Incoming_Txns") {
3435 let if_hash_already_exist = getString(this, ("Incoming_Txn_Hash_" + get_incoming_hash))
3536 if ((if_hash_already_exist == get_incoming_hash))
3637 then throw((get_incoming_hash + " Already Exist and released by Dapp."))
37- else [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry(("Incoming_Txn_Hash_" + get_incoming_hash), get_incoming_hash), IntegerEntry("Total_Funds_Deposited", total_incoming_amount), IntegerEntry(get_incoming_address, total_incoming_amount_to_address), ScriptTransfer(addressFromStringValue(get_incoming_address), convert_incoming_amount, unit)]
38+ else [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry(("Incoming_Txn_Hash_" + get_incoming_hash), get_incoming_hash), IntegerEntry("Total_Funds_Deposited", total_incoming_amount), IntegerEntry(get_incoming_address, total_incoming_amount_to_address), ScriptTransfer(addressFromStringValue(get_incoming_address), convert_incoming_amount, unit), StringEntry(get_incoming_address_hex, get_incoming_address)]
3839 }
3940
4041
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func post_incoming_polygon_txn (Incoming_Txn) = {
88 let split_incoming_txn = split(Incoming_Txn, "_")
99 let get_incoming_hash = split_incoming_txn[0]
1010 let get_incoming_address = split_incoming_txn[1]
11+ let get_incoming_address_hex = toBase16String(toBytes(get_incoming_address))
1112 let get_incoming_amount = split_incoming_txn[2]
1213 let convert_incoming_amount = fraction(parseIntValue(get_incoming_amount), 1, 10000000000)
1314 let read_incoming_txn = match getInteger(this, "Total_Incoming_Txns") {
1415 case a: Int =>
1516 a
1617 case _ =>
1718 0
1819 }
1920 let total_incoming_txn = (read_incoming_txn + 1)
2021 let read_incoming_amount = match getInteger(this, "Total_Funds_Deposited") {
2122 case a: Int =>
2223 a
2324 case _ =>
2425 0
2526 }
2627 let total_incoming_amount = (read_incoming_amount + convert_incoming_amount)
2728 let read_incoming_amount_to_address = match getInteger(this, get_incoming_address) {
2829 case a: Int =>
2930 a
3031 case _ =>
3132 0
3233 }
3334 let total_incoming_amount_to_address = (read_incoming_amount_to_address + convert_incoming_amount)
3435 let if_hash_already_exist = getString(this, ("Incoming_Txn_Hash_" + get_incoming_hash))
3536 if ((if_hash_already_exist == get_incoming_hash))
3637 then throw((get_incoming_hash + " Already Exist and released by Dapp."))
37- else [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry(("Incoming_Txn_Hash_" + get_incoming_hash), get_incoming_hash), IntegerEntry("Total_Funds_Deposited", total_incoming_amount), IntegerEntry(get_incoming_address, total_incoming_amount_to_address), ScriptTransfer(addressFromStringValue(get_incoming_address), convert_incoming_amount, unit)]
38+ else [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry(("Incoming_Txn_Hash_" + get_incoming_hash), get_incoming_hash), IntegerEntry("Total_Funds_Deposited", total_incoming_amount), IntegerEntry(get_incoming_address, total_incoming_amount_to_address), ScriptTransfer(addressFromStringValue(get_incoming_address), convert_incoming_amount, unit), StringEntry(get_incoming_address_hex, get_incoming_address)]
3839 }
3940
4041
4142
4243 @Callable(i)
4344 func Delete (Key,Key1,Key2,Key3) = [DeleteEntry(Key), DeleteEntry(Key1), DeleteEntry(Key2), DeleteEntry(Key3)]
4445
4546

github/deemru/w8io/169f3d6 
37.21 ms