tx · FrW8fdgCb3cJYSPoqeC9Zui2A8UQyJxKFNJQtkmt7oGi

3N8oGmoNZRYR4iA9586cGgVoFPTPnbKcNds:  -0.01400000 Waves

2022.03.05 18:33 [1950854] smart account 3N8oGmoNZRYR4iA9586cGgVoFPTPnbKcNds > SELF 0.00000000 Waves

{ "type": 13, "id": "FrW8fdgCb3cJYSPoqeC9Zui2A8UQyJxKFNJQtkmt7oGi", "fee": 1400000, "feeAssetId": null, "timestamp": 1646494401333, "version": 2, "chainId": 84, "sender": "3N8oGmoNZRYR4iA9586cGgVoFPTPnbKcNds", "senderPublicKey": "CcnrRKYzgAP4VNysQhGczok7xWdHDnijupPd8nTfV8BE", "proofs": [ "3zhaGPP3iKuegVUsCoKfH3ftN5ZemWspzDHHWSes8HiUez9gZSG9NmeofxKJoCPc5miL6hWaEH7jvPAUQ8hng54c" ], "script": "base64:AAIEAAAAAAAAAAkIAhIAEgMKAQgAAAAAAAAAAgAAAAFpAQAAAARTZW5kAAAAAAQAAAADcG10CQEAAAAFdmFsdWUAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAAAZzZW5kZXIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAPc2VuZGVycHVibGlja2V5CQACWAAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQQAAAAGYXNzZXQxAQAAACAIZYS3D/CKahrz4mjoLgiQJMPTJ1gDzSz2Ll4L39oVpAQAAAAHdHhuaGFzaAkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkAwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAZhc3NldDEJAAACAAAAAQIAAABSSW5jb3JyZWN0IGFzc2V0IGF0dGFjaGVkLCBwbGVhc2Ugc2VuZCBabjNjTEhXN2FBVlBtNWFBQ2NUanZnN2U3aUV5MmNLRHRib3dvazVxYTlILgkABEwAAAACCQEAAAALU3RyaW5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AAAAAQkAASwAAAACBQAAAA9UcmFuc2FjdGlvbkhhc2gCAAAADl9TZW5kZXJfYW1vdW50CQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgUAAAAPVHJhbnNhY3Rpb25IYXNoAgAAAA5fU2VuZGVyX3B1YmtleQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5rfIdtQ==", "height": 1950854, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8g2kQ9eLnVZA1YU4G24NHEQAJQ63gtRVacHafp6gFV21 Next: EQyYTVTDT3MbeUtmaKQjsVsHkHzuVcnopnwc11vUmG1f Full:
OldNewDifferences
1-{-# STDLIB_VERSION 3 #-}
1+{-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func Send () = {
8- let b = extract(a.payment)
8+ let b = value(a.payments[0])
99 let c = toBase58String(a.caller.bytes)
1010 let d = toBase58String(a.callerPublicKey)
1111 let e = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
1212 let f = toBase58String(a.transactionId)
1313 if ((b.assetId != e))
1414 then throw("Incorrect asset attached, please send Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H.")
15- else WriteSet([DataEntry("Sender_TxnID", f), DataEntry((f + "_Sender_Address"), c), DataEntry((f + "_Sender_pubkey"), d), DataEntry((f + "_Sender_amount"), b.amount), DataEntry((f + "_Sender_AssetID"), "Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H"), DataEntry((f + "_Sender_Status"), "PENDING")])
15+ else [StringEntry("Sender_TxnID", f), StringEntry((f + "_Sender_Address"), c), StringEntry((f + "_Sender_pubkey"), d), IntegerEntry((f + "_Sender_amount"), b.amount), StringEntry((f + "_Sender_AssetID"), "Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H"), StringEntry((f + "_Sender_Status"), "PENDING")]
1616 }
1717
1818
19-@Verifier(g)
20-func h () = {
21- let i = g
22- sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
19+
20+@Callable(a)
21+func RemoveEntry (g) = [DeleteEntry((g + "_Sender_Address")), DeleteEntry((g + "_Sender_AssetID")), DeleteEntry((g + "_Sender_Status")), DeleteEntry((g + "_Sender_amount")), DeleteEntry((g + "_Sender_pubkey"))]
22+
23+
24+@Verifier(h)
25+func i () = {
26+ let j = h
27+ sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
2328 }
2429

github/deemru/w8io/169f3d6 
40.44 ms