tx · ZKZNd4frAKW2kJdJUxATtAkcUjWUysqHUQctZCHUQA2

3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g:  -0.01000000 Waves

2023.08.07 18:38 [2700359] smart account 3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g > SELF 0.00000000 Waves

{ "type": 13, "id": "ZKZNd4frAKW2kJdJUxATtAkcUjWUysqHUQctZCHUQA2", "fee": 1000000, "feeAssetId": null, "timestamp": 1691422766234, "version": 2, "chainId": 84, "sender": "3MyR7tR3rqJJDyvsotfqT1SzuyC2th2GX2g", "senderPublicKey": "BNhrJZCabKcMuPTo84Uz3QTUH237UCr6Dhe64RkkFxC3", "proofs": [ "3iZ7dNxHYXP6kd96hbAcB2c7We2M5iyVFYQaxuBzpHWB6qfx5y3y7V3FVcDLpgUoUBzfNV5stZgv14DWHpXRBjRV" ], "script": "base64:AAIFAAAAAAAAAA8IAhIDCgEIEgYKBAgICAgAAAAAAAAAAgAAAAFpAQAAABlwb3N0X2luY29taW5nX3BvbHlnb25fdHhuAAAAAQAAAAxJbmNvbWluZ19UeG4EAAAAEnNwbGl0X2luY29taW5nX3R4bgkABLUAAAACBQAAAAxJbmNvbWluZ19UeG4CAAAAAV8EAAAAEWdldF9pbmNvbWluZ19oYXNoCQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAAQAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MJAAGRAAAAAgUAAAASc3BsaXRfaW5jb21pbmdfdHhuAAAAAAAAAAABBAAAABNnZXRfaW5jb21pbmdfYW1vdW50CQABkQAAAAIFAAAAEnNwbGl0X2luY29taW5nX3R4bgAAAAAAAAAAAgQAAAAXY29udmVydF9pbmNvbWluZ19hbW91bnQJAABrAAAAAwkBAAAADXBhcnNlSW50VmFsdWUAAAABBQAAABNnZXRfaW5jb21pbmdfYW1vdW50AAAAAAAAAAABAAAAAAJUC+QABAAAABFyZWFkX2luY29taW5nX3R4bgQAAAAHJG1hdG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QuCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABNUb3RhbF9JbmNvbWluZ19UeG5zBQAAABJ0b3RhbF9pbmNvbWluZ190eG4JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAhQYWlyX1VWXwUAAAARZ2V0X2luY29taW5nX2hhc2gFAAAAEWdldF9pbmNvbWluZ19oYXNoCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABVUb3RhbF9GdW5kc19EZXBvc2l0ZWQFAAAAFXRvdGFsX2luY29taW5nX2Ftb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAUZ2V0X2luY29taW5nX2FkZHJlc3MFAAAAIHRvdGFsX2luY29taW5nX2Ftb3VudF90b19hZGRyZXNzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAAFGdldF9pbmNvbWluZ19hZGRyZXNzBQAAABdjb252ZXJ0X2luY29taW5nX2Ftb3VudAUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAABkRlbGV0ZQAAAAQAAAADS2V5AAAABEtleTEAAAAES2V5MgAAAARLZXkzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAAA0tleQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAARLZXkxCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABEtleTIJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAES2V5MwUAAAADbmlsAAAAAPj9GzI=", "height": 2700359, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GRX4QPvj32CDaU12NSPJM7eaYUNvBhtmLbQPa9WVPhRr Next: H6dQTtqJGzEdQnsMvxK9yAQRHxXvTADvSrWFjUmMsBpA Diff:
OldNewDifferences
1717 0
1818 }
1919 let total_incoming_txn = (read_incoming_txn + 1)
20- let read_incoming_hash = getString(this, ("Incoming_Txn_Hash_" + get_incoming_hash))
2120 let read_incoming_amount = match getInteger(this, "Total_Funds_Deposited") {
2221 case a: Int =>
2322 a
3231 0
3332 }
3433 let total_incoming_amount_to_address = (read_incoming_amount_to_address + convert_incoming_amount)
35- if ((read_incoming_hash == ("Incoming_Txn_Hash_" + get_incoming_hash)))
36- then throw((("Txn ID:" + get_incoming_hash) + " is already claimed."))
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), StringEntry(toString(total_incoming_txn), Incoming_Txn), ScriptTransfer(addressFromStringValue(get_incoming_address), convert_incoming_amount, unit)]
34+ let fetchpair = getString(this, ("Pair_UV_" + get_incoming_hash))
35+ if ((fetchpair == get_incoming_hash))
36+ then throw("Pair Already Exist in Voting List.")
37+ else [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry(("Pair_UV_" + 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)]
3838 }
3939
4040
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]
1111 let get_incoming_amount = split_incoming_txn[2]
1212 let convert_incoming_amount = fraction(parseIntValue(get_incoming_amount), 1, 10000000000)
1313 let read_incoming_txn = match getInteger(this, "Total_Incoming_Txns") {
1414 case a: Int =>
1515 a
1616 case _ =>
1717 0
1818 }
1919 let total_incoming_txn = (read_incoming_txn + 1)
20- let read_incoming_hash = getString(this, ("Incoming_Txn_Hash_" + get_incoming_hash))
2120 let read_incoming_amount = match getInteger(this, "Total_Funds_Deposited") {
2221 case a: Int =>
2322 a
2423 case _ =>
2524 0
2625 }
2726 let total_incoming_amount = (read_incoming_amount + convert_incoming_amount)
2827 let read_incoming_amount_to_address = match getInteger(this, get_incoming_address) {
2928 case a: Int =>
3029 a
3130 case _ =>
3231 0
3332 }
3433 let total_incoming_amount_to_address = (read_incoming_amount_to_address + convert_incoming_amount)
35- if ((read_incoming_hash == ("Incoming_Txn_Hash_" + get_incoming_hash)))
36- then throw((("Txn ID:" + get_incoming_hash) + " is already claimed."))
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), StringEntry(toString(total_incoming_txn), Incoming_Txn), ScriptTransfer(addressFromStringValue(get_incoming_address), convert_incoming_amount, unit)]
34+ let fetchpair = getString(this, ("Pair_UV_" + get_incoming_hash))
35+ if ((fetchpair == get_incoming_hash))
36+ then throw("Pair Already Exist in Voting List.")
37+ else [IntegerEntry("Total_Incoming_Txns", total_incoming_txn), StringEntry(("Pair_UV_" + 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)]
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/026f985 
25.50 ms