tx · 3akqFTh4B5qTmNHAme837SxzyNQ4aySQC82KtVpw77cn

3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o:  -0.01500000 Waves

2019.12.13 11:14 [806837] smart account 3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o > SELF 0.00000000 Waves

{ "type": 13, "id": "3akqFTh4B5qTmNHAme837SxzyNQ4aySQC82KtVpw77cn", "fee": 1500000, "feeAssetId": null, "timestamp": 1576224833588, "version": 1, "sender": "3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o", "senderPublicKey": "HSS4a36erGkiV9CNwCE1pxUDtZ385xiKVPro36tziRHe", "proofs": [ "579rWXR8rVmH73SjvQYuzsnrJsqhd4nyrHsty87ciXyCjkEjJdKDxF67bLa4Q4EnT4U16BHL1MhRqq48LVdNM6VA" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAAJZW50ZXJEYXRhAAAAAQAAAAdkYXRhVmFsBAAAAANwbXQJAQAAAAdleHRyYWN0AAAAAQgFAAAAAWkAAAAHcGF5bWVudAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAQQ29udGVudF9WYXJpYWJsZQUAAAAHZGF0YVZhbAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAKcG10LmFtb3VudAgFAAAAA3BtdAAAAAZhbW91bnQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAC3BtdC5hc3NldElkAwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAlgAAAABCQEAAAAFdmFsdWUAAAABCAUAAAADcG10AAAAB2Fzc2V0SWQCAAAABVdBVkVTBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAAAQAAACD0Ptklbetp3D3LwxAwfHwrn1zvwXtSIg3xoG2tDqDbPQcN3+Tu", "chainId": 84, "height": 806837, "spentComplexity": 0 } View: original | compacted Prev: F2Jmc21uA66GUhfrwUsa6xj28LRcey1W7DcgbrS3am29 Next: EVGD4BLMAigusShkijdbeLCQpCaTvHaRqWGvs1hKzznm Diff:
OldNewDifferences
44
55
66 @Callable(a)
7-func enterData (b) = WriteSet([DataEntry("Content_Variable", b)])
8-
9-
10-
11-@Callable(a)
12-func getData () = {
13- let c = {
14- let d = getString(this, "Content_Variable")
15- if ($isInstanceOf(d, "String"))
16- then {
17- let e = d
18- e
19- }
20- else 0
21- }
22- ScriptResult(WriteSet([DataEntry("Content_data", c)]), TransferSet([ScriptTransfer(a.caller, 0, unit)]))
7+func enterData (b) = {
8+ let c = extract(a.payment)
9+ WriteSet([DataEntry("Content_Variable", b), DataEntry("pmt.amount", c.amount), DataEntry("pmt.assetId", if (isDefined(c.assetId))
10+ then toBase58String(value(c.assetId))
11+ else "WAVES")])
2312 }
2413
2514
26-@Verifier(f)
27-func g () = {
28- let d = f
29- if ($isInstanceOf(d, "SetScriptTransaction"))
15+@Verifier(d)
16+func e () = {
17+ let f = d
18+ if ($isInstanceOf(f, "SetScriptTransaction"))
3019 then {
31- let h = d
32- sigVerify(f.bodyBytes, f.proofs[0], base58'HSS4a36erGkiV9CNwCE1pxUDtZ385xiKVPro36tziRHe')
20+ let g = f
21+ sigVerify(d.bodyBytes, d.proofs[0], base58'HSS4a36erGkiV9CNwCE1pxUDtZ385xiKVPro36tziRHe')
3322 }
3423 else false
3524 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
7-func enterData (b) = WriteSet([DataEntry("Content_Variable", b)])
8-
9-
10-
11-@Callable(a)
12-func getData () = {
13- let c = {
14- let d = getString(this, "Content_Variable")
15- if ($isInstanceOf(d, "String"))
16- then {
17- let e = d
18- e
19- }
20- else 0
21- }
22- ScriptResult(WriteSet([DataEntry("Content_data", c)]), TransferSet([ScriptTransfer(a.caller, 0, unit)]))
7+func enterData (b) = {
8+ let c = extract(a.payment)
9+ WriteSet([DataEntry("Content_Variable", b), DataEntry("pmt.amount", c.amount), DataEntry("pmt.assetId", if (isDefined(c.assetId))
10+ then toBase58String(value(c.assetId))
11+ else "WAVES")])
2312 }
2413
2514
26-@Verifier(f)
27-func g () = {
28- let d = f
29- if ($isInstanceOf(d, "SetScriptTransaction"))
15+@Verifier(d)
16+func e () = {
17+ let f = d
18+ if ($isInstanceOf(f, "SetScriptTransaction"))
3019 then {
31- let h = d
32- sigVerify(f.bodyBytes, f.proofs[0], base58'HSS4a36erGkiV9CNwCE1pxUDtZ385xiKVPro36tziRHe')
20+ let g = f
21+ sigVerify(d.bodyBytes, d.proofs[0], base58'HSS4a36erGkiV9CNwCE1pxUDtZ385xiKVPro36tziRHe')
3322 }
3423 else false
3524 }
3625

github/deemru/w8io/026f985 
20.64 ms