tx · 6kyLNCt1NYsmW3CapFxMBob4cnBZ1FvoL9mGmhCoCxJZ

3N8oGmoNZRYR4iA9586cGgVoFPTPnbKcNds:  -0.01400000 Waves

2022.03.05 20:24 [1950969] smart account 3N8oGmoNZRYR4iA9586cGgVoFPTPnbKcNds > SELF 0.00000000 Waves

{ "type": 13, "id": "6kyLNCt1NYsmW3CapFxMBob4cnBZ1FvoL9mGmhCoCxJZ", "fee": 1400000, "feeAssetId": null, "timestamp": 1646501148346, "version": 2, "chainId": 84, "sender": "3N8oGmoNZRYR4iA9586cGgVoFPTPnbKcNds", "senderPublicKey": "CcnrRKYzgAP4VNysQhGczok7xWdHDnijupPd8nTfV8BE", "proofs": [ "2r7EQsp2LhYqWSvf3wVr9vt8ETxYLMcH2adgzuYMxeJGCHKCer7msfspu54aWRCvCTVXctsfj3bkQvU1eJdrsgqE" ], "script": "base64:AAIEAAAAAAAAAAkIAhIAEgMKAQgAAAAAAAAAAgAAAAFpAQAAAARTZW5kAAAAAAQAAAADcG10CQEAAAAFdmFsdWUAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAAAZzZW5kZXIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAPc2VuZGVycHVibGlja2V5CQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAAGYXNzZXQxAQAAACAIZYS3D/CKahrz4mjoLgiQJMPTJ1gDzSz2Ll4L39oVpAQAAAAHdHhuaGFzaAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkAwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAZhc3NldDEJAAACAAAAAQIAAABSSW5jb3JyZWN0IGFzc2V0IGF0dGFjaGVkLCBwbGVhc2Ugc2VuZCBabjNjTEhXN2FBVlBtNWFBQ2NUanZnN2U3aUV5MmNLRHRib3dvazVxYTlILgkABEwAAAACCQEAAAALU3Rya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c2gCAAAADl9TZW5kZXJfU3RhdHVzCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAPVHJhbnNhY3Rpb25IYXNoAgAAAA5fU2VuZGVyX2Ftb3VudAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIFAAAAD1RyYW5zYWN0aW9uSGFzaAIAAAAOX1NlbmRlcl9wdWJrZXkFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlee5CI3k=", "height": 1950969, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 75eR7X6jpKmSv8CiW8NvcdG8rTxSaHzbutTtphBdwiMQ Next: none Diff:
OldNewDifferences
1212 let txnhash = toBase58String(i.transactionId)
1313 if ((pmt.assetId != asset1))
1414 then throw("Incorrect asset attached, please send Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H.")
15- else [StringEntry(("TxnID_" + txnhash), txnhash), StringEntry((txnhash + "_Sender_Address"), sender), StringEntry((txnhash + "_Sender_pubkey"), senderpublickey), IntegerEntry((txnhash + "_Sender_amount"), pmt.amount), StringEntry((txnhash + "_Sender_AssetID"), "Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H"), StringEntry((txnhash + "_Sender_Status"), "PENDING")]
15+ else [StringEntry("Sender_TxnID", txnhash), StringEntry((txnhash + "_Sender_Address"), sender), StringEntry((txnhash + "_Sender_pubkey"), senderpublickey), IntegerEntry((txnhash + "_Sender_amount"), pmt.amount), StringEntry((txnhash + "_Sender_AssetID"), "Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H"), StringEntry((txnhash + "_Sender_Status"), "PENDING")]
1616 }
1717
1818
1919
2020 @Callable(i)
21-func RemoveEntry (TransactionHash) = [DeleteEntry(("TxnID_" + TransactionHash)), DeleteEntry((TransactionHash + "_Sender_Address")), DeleteEntry((TransactionHash + "_Sender_AssetID")), DeleteEntry((TransactionHash + "_Sender_Status")), DeleteEntry((TransactionHash + "_Sender_amount")), DeleteEntry((TransactionHash + "_Sender_pubkey"))]
21+func RemoveEntry (TransactionHash) = [DeleteEntry("Sender_TxnID"), DeleteEntry((TransactionHash + "_Sender_Address")), DeleteEntry((TransactionHash + "_Sender_AssetID")), DeleteEntry((TransactionHash + "_Sender_Status")), DeleteEntry((TransactionHash + "_Sender_amount")), DeleteEntry((TransactionHash + "_Sender_pubkey"))]
2222
2323
2424 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func Send () = {
88 let pmt = value(i.payments[0])
99 let sender = toBase58String(i.caller.bytes)
1010 let senderpublickey = toBase58String(i.callerPublicKey)
1111 let asset1 = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
1212 let txnhash = toBase58String(i.transactionId)
1313 if ((pmt.assetId != asset1))
1414 then throw("Incorrect asset attached, please send Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H.")
15- else [StringEntry(("TxnID_" + txnhash), txnhash), StringEntry((txnhash + "_Sender_Address"), sender), StringEntry((txnhash + "_Sender_pubkey"), senderpublickey), IntegerEntry((txnhash + "_Sender_amount"), pmt.amount), StringEntry((txnhash + "_Sender_AssetID"), "Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H"), StringEntry((txnhash + "_Sender_Status"), "PENDING")]
15+ else [StringEntry("Sender_TxnID", txnhash), StringEntry((txnhash + "_Sender_Address"), sender), StringEntry((txnhash + "_Sender_pubkey"), senderpublickey), IntegerEntry((txnhash + "_Sender_amount"), pmt.amount), StringEntry((txnhash + "_Sender_AssetID"), "Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H"), StringEntry((txnhash + "_Sender_Status"), "PENDING")]
1616 }
1717
1818
1919
2020 @Callable(i)
21-func RemoveEntry (TransactionHash) = [DeleteEntry(("TxnID_" + TransactionHash)), DeleteEntry((TransactionHash + "_Sender_Address")), DeleteEntry((TransactionHash + "_Sender_AssetID")), DeleteEntry((TransactionHash + "_Sender_Status")), DeleteEntry((TransactionHash + "_Sender_amount")), DeleteEntry((TransactionHash + "_Sender_pubkey"))]
21+func RemoveEntry (TransactionHash) = [DeleteEntry("Sender_TxnID"), DeleteEntry((TransactionHash + "_Sender_Address")), DeleteEntry((TransactionHash + "_Sender_AssetID")), DeleteEntry((TransactionHash + "_Sender_Status")), DeleteEntry((TransactionHash + "_Sender_amount")), DeleteEntry((TransactionHash + "_Sender_pubkey"))]
2222
2323
2424 @Verifier(tx)
2525 func verify () = match tx {
2626 case _ =>
2727 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2828 }
2929

github/deemru/w8io/169f3d6 
29.05 ms