tx · DB6ik7aq526FtxFLacoGNRxXiwgj8rrpkMWmAXzdLCLo
3NBHyQ67TPHySpoiugp35ZBDmy57KGbLiqH: -0.09000000 Waves
2021.03.18 19:13 [1443401] smart account 3NBHyQ67TPHySpoiugp35ZBDmy57KGbLiqH > SELF 0.00000000 Waves
{
"type": 13,
"id": "DB6ik7aq526FtxFLacoGNRxXiwgj8rrpkMWmAXzdLCLo",
"fee": 9000000,
"feeAssetId": null,
"timestamp": 1616084016444,
"version": 2,
"chainId": 84,
"sender": "3NBHyQ67TPHySpoiugp35ZBDmy57KGbLiqH",
"senderPublicKey": "BEhKtjrMZynwX3AJB6WJbFrM6UxW9ytKVsn1nRb7pKrX",
"proofs": [
"TttkcuuPq8eRJwPWEyh2u7h6WdGUfnDwCSFwQUMEtwuNHBYSrMCjDy4Kq6xzHMNErurSuuMp1LtgryitbB12FHB"
],
"script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIAAAADa2V5AAAAA2FkcgQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAAC3BlcmZvbU9yZGVyAAAAAQAAAARkYXRlBAAAAA1jYWxsZXJBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAABmZpZWxkMQkBAAAAE2dldERhdGFGcm9tQ3VzdG9tZXIAAAACAgAAACpfT1JERVJTOi9HRVZJU0VESTAxL0hlYWRlci9OYWNocmljaHRlbnR5cF8FAAAADWNhbGxlckFkZHJlc3MDCQAAAAAAAAIFAAAABmZpZWxkMQIAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAIF8vT1JERVJTMDUvSURPQy9FRElfREM0MC9NRVNUWVBfAgAAAAJzZAUAAAADbmlsCQAAAgAAAAECAAAAC2ZpZWxkIGVtcHR5AAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBga1x4Io",
"height": 1443401,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6JsTkyZfChbBvwTNHCKWUpf3wfoceFNsgRktoUw1itBF
Next: A4gBd9v5wYTeq4V4SwVvGwmDnvR1ssEgYACgBhbsPMkc
Diff:
Old | New | | Differences |
---|
18 | 18 | | @Callable(g) |
---|
19 | 19 | | func perfomOrder (h) = { |
---|
20 | 20 | | let i = addressFromPublicKey(g.callerPublicKey) |
---|
21 | | - | let j = a((toUtf8String(g.callerPublicKey) + "_ORDERS:/GEVISEDI01/Header/Nachrichtentyp_"), i) |
---|
| 21 | + | let j = a("_ORDERS:/GEVISEDI01/Header/Nachrichtentyp_", i) |
---|
22 | 22 | | if ((j == "")) |
---|
23 | 23 | | then [StringEntry("_/ORDERS05/IDOC/EDI_DC40/MESTYP_", "sd")] |
---|
24 | 24 | | else throw("field empty") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a (b,c) = { |
---|
5 | 5 | | let d = { |
---|
6 | 6 | | let e = getString(c, b) |
---|
7 | 7 | | if ($isInstanceOf(e, "String")) |
---|
8 | 8 | | then { |
---|
9 | 9 | | let f = e |
---|
10 | 10 | | f |
---|
11 | 11 | | } |
---|
12 | 12 | | else "" |
---|
13 | 13 | | } |
---|
14 | 14 | | d |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|
18 | 18 | | @Callable(g) |
---|
19 | 19 | | func perfomOrder (h) = { |
---|
20 | 20 | | let i = addressFromPublicKey(g.callerPublicKey) |
---|
21 | | - | let j = a((toUtf8String(g.callerPublicKey) + "_ORDERS:/GEVISEDI01/Header/Nachrichtentyp_"), i) |
---|
| 21 | + | let j = a("_ORDERS:/GEVISEDI01/Header/Nachrichtentyp_", i) |
---|
22 | 22 | | if ((j == "")) |
---|
23 | 23 | | then [StringEntry("_/ORDERS05/IDOC/EDI_DC40/MESTYP_", "sd")] |
---|
24 | 24 | | else throw("field empty") |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|
28 | 28 | | @Verifier(k) |
---|
29 | 29 | | func l () = { |
---|
30 | 30 | | let e = k |
---|
31 | 31 | | if ($isInstanceOf(e, "DataTransaction")) |
---|
32 | 32 | | then true |
---|
33 | 33 | | else if ($isInstanceOf(e, "SetScriptTransaction")) |
---|
34 | 34 | | then true |
---|
35 | 35 | | else true |
---|
36 | 36 | | } |
---|
37 | 37 | | |
---|