tx · 4tYTW9tzLBDmEczkwXP82ajHePxBst5Jg9A97xVYcfY1

3N7ufBZVuVJtEPVnZAUjpffreNUxCYsb6Vk:  -0.14000000 Waves

2021.02.04 19:51 [1383694] smart account 3N7ufBZVuVJtEPVnZAUjpffreNUxCYsb6Vk > SELF 0.00000000 Waves

{ "type": 13, "id": "4tYTW9tzLBDmEczkwXP82ajHePxBst5Jg9A97xVYcfY1", "fee": 14000000, "feeAssetId": null, "timestamp": 1612457479974, "version": 2, "chainId": 84, "sender": "3N7ufBZVuVJtEPVnZAUjpffreNUxCYsb6Vk", "senderPublicKey": "8rDvQxFR9tYKSwAaR4umUxBMj37GmcVY3VtWAjLyJu62", "proofs": [ "2xJ25pML8zk38g74Poz2Mb7ZxozbCyMiXvZfuyfMhSYZnPaXHPWJLD7wsK2nHtRv4NtqnHEjsavZRD3sPa8a1WyU" ], "script": "base64:AAIDAAAAAAAAAAkIARIDCgEBEgAAAAAAAAAAAgAAAAFpAQAAAAdnZXRVbml0AAAAAQAAAAZ1bml0aWQEAAAAC3VuaXRBc3NldElkBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAEdW5pdAkAAaQAAAABBQAAAAZ1bml0aWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQIAAAAABAAAAARjb3N0BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgIAAAAFY29zdF8FAAAAC3VuaXRBc3NldElkAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50AwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAAIAAAABAgAAABV3b3JrcyB3aXRoIHdhdmVzIG9ubHkDCQEAAAACIT0AAAACCAUAAAADcG10AAAABmFtb3VudAUAAAAEY29zdAkAAAIAAAABAgAAABhXcm9uZyBzZXJ2aWNlIGZlZSBhbW91bnQJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAR1bml0BQAAAANuaWwAAAABaQEAAAAKc2V0VGV4dERlZgAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABGRlbW8AAAAAAAAAAAwFAAAAA25pbAAAAAD9qvWJ", "height": 1383694, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 77mzXZTLjD5bqoHj7FjSdQBmJ4qPT7p7iaMwT5vikZ9g Next: 4DoVwma7tCR5zNAFmhhh9q64aH8wsMeLvKCmVvQe6pYP Diff:
OldNewDifferences
3232 }
3333
3434
35+
36+@Callable(a)
37+func setTextDef () = WriteSet([DataEntry("demo", 12)])
38+
39+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func getUnit (b) = {
88 let c = {
99 let d = getString(this, ("unit" + toString(b)))
1010 if ($isInstanceOf(d, "String"))
1111 then {
1212 let e = d
1313 e
1414 }
1515 else ""
1616 }
1717 let f = {
1818 let d = getInteger(this, ("cost_" + c))
1919 if ($isInstanceOf(d, "Int"))
2020 then {
2121 let e = d
2222 e
2323 }
2424 else 0
2525 }
2626 let g = extract(a.payment)
2727 if (isDefined(g.assetId))
2828 then throw("works with waves only")
2929 else if ((g.amount != f))
3030 then throw("Wrong service fee amount")
3131 else TransferSet([ScriptTransfer(a.caller, 1, unit)])
3232 }
3333
3434
35+
36+@Callable(a)
37+func setTextDef () = WriteSet([DataEntry("demo", 12)])
38+
39+

github/deemru/w8io/169f3d6 
34.18 ms