tx · 9V1tDU2ZkhWYD4MUB1xtruK5r1zExFpTUMNV61zqUhn7

3Mru3aDGTs5hhRmGnK4YtRHmjHWGxgxfTXj:  -0.01400000 Waves

2022.03.05 19:12 [1950898] smart account 3Mru3aDGTs5hhRmGnK4YtRHmjHWGxgxfTXj > SELF 0.00000000 Waves

{ "type": 13, "id": "9V1tDU2ZkhWYD4MUB1xtruK5r1zExFpTUMNV61zqUhn7", "fee": 1400000, "feeAssetId": null, "timestamp": 1646496794029, "version": 2, "chainId": 84, "sender": "3Mru3aDGTs5hhRmGnK4YtRHmjHWGxgxfTXj", "senderPublicKey": "GVvfMT9ANQVuZNbpnUgjgfmAZzPsXpJFzZG6Rdufjvvx", "proofs": [ "3evFVzrHY3WWRstP3nhtrfTMWVx7Tuogwa4YC9pBZfL7Ku1ejSJ24Z7NqLJD2TXKRwvKm15JCTcTk9ADC1N8tyrC" ], "script": "base64:AAIEAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAAAAAAAAgAAAAFpAQAAAAVDbGFpbQAAAAEAAAAPVHJhbnNhY3Rpb25IYXNoBAAAAApjdXJyZW50S2V5CQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAAPZmV0Y2hjdXJyZW50S2V5CQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzCQABLAAAAAIFAAAAD1RyYW5zYWN0aW9uSGFzaAIAAAAOX1NlbmRlcl9wdWJrZXkEAAAADGZldGNoQXNzZXRJRAkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAA9UcmFuc2FjdGlvbkhhc2gCAAAAD19TZW5kZXJfQXNzZXRJRAQAAAALZmV0Y2hBbW91bnQJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAPVHJhbnNhY3Rpb25IYXNoAgAAAA5fU2VuZGVyX2Ftb3VudAQAAAAMQWN0dW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EwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIFAAAAD1RyYW5zYWN0aW9uSGFzaAIAAAAPX1NlbmRlcl9Bc3NldElECQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAPVHJhbnNhY3Rpb25IYXNoAgAAAA5fU2VuZGVyX1N0YXR1cwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIFAAAAD1RyYW5zYWN0aW9uSGFzaAIAAAAOX1NlbmRlcl9hbW91bnQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACBQAAAA9UcmFuc2FjdGlvbkhhc2gCAAAADl9TZW5kZXJfcHVia2V5BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJHkbU", "height": 1950898, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E5ky6K8QhMFuT8AKkQESTERJwEFzbFDUHWHkfSqNiLcw Next: 8kCUmARg4QEn2iKndpnuUGJqoFVaGudjs7sTfTPisG5w Diff:
OldNewDifferences
2222 @Callable(i)
2323 func RemoveEntry (TransactionHash) = {
2424 let sender = toBase58String(i.caller.bytes)
25-[DeleteEntry(((sender + "_TxnID") + TransactionHash)), DeleteEntry((TransactionHash + "_Sender_Address")), DeleteEntry((TransactionHash + "_Sender_AssetID")), DeleteEntry((TransactionHash + "_Sender_Status")), DeleteEntry((TransactionHash + "_Sender_amount")), DeleteEntry((TransactionHash + "_Sender_pubkey"))]
25+[DeleteEntry(((sender + "_TxnID_") + TransactionHash)), DeleteEntry((TransactionHash + "_Sender_Address")), DeleteEntry((TransactionHash + "_Sender_AssetID")), DeleteEntry((TransactionHash + "_Sender_Status")), DeleteEntry((TransactionHash + "_Sender_amount")), DeleteEntry((TransactionHash + "_Sender_pubkey"))]
2626 }
2727
2828
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func Claim (TransactionHash) = {
88 let currentKey = toBase58String(i.callerPublicKey)
99 let fetchcurrentKey = getStringValue(this, (TransactionHash + "_Sender_pubkey"))
1010 let fetchAssetID = getStringValue(this, (TransactionHash + "_Sender_AssetID"))
1111 let fetchAmount = getIntegerValue(this, (TransactionHash + "_Sender_amount"))
1212 let ActualAmount = fraction(100, fetchAmount, 1)
1313 if ((currentKey != fetchcurrentKey))
1414 then throw("You are not an authorized user to Withdraw Funds or Wrong Public Key.")
1515 else if ((fetchAmount == 0))
1616 then throw("You Already Have Withdraw Funds from This TxnID.")
1717 else [StringEntry((TransactionHash + "_Sender_Status"), "WITHDRAW_COMPLETED"), IntegerEntry((TransactionHash + "_Sender_amount"), 0), ScriptTransfer(i.caller, ActualAmount, unit)]
1818 }
1919
2020
2121
2222 @Callable(i)
2323 func RemoveEntry (TransactionHash) = {
2424 let sender = toBase58String(i.caller.bytes)
25-[DeleteEntry(((sender + "_TxnID") + TransactionHash)), DeleteEntry((TransactionHash + "_Sender_Address")), DeleteEntry((TransactionHash + "_Sender_AssetID")), DeleteEntry((TransactionHash + "_Sender_Status")), DeleteEntry((TransactionHash + "_Sender_amount")), DeleteEntry((TransactionHash + "_Sender_pubkey"))]
25+[DeleteEntry(((sender + "_TxnID_") + TransactionHash)), DeleteEntry((TransactionHash + "_Sender_Address")), DeleteEntry((TransactionHash + "_Sender_AssetID")), DeleteEntry((TransactionHash + "_Sender_Status")), DeleteEntry((TransactionHash + "_Sender_amount")), DeleteEntry((TransactionHash + "_Sender_pubkey"))]
2626 }
2727
2828
2929 @Verifier(tx)
3030 func verify () = match tx {
3131 case _ =>
3232 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3333 }
3434

github/deemru/w8io/169f3d6 
23.09 ms