tx · CBQoeT3LdByqJLWJ2K4pYQne7ovyFTb3BtAqHbAZvT9F

3NBHyQ67TPHySpoiugp35ZBDmy57KGbLiqH:  -0.09000000 Waves

2021.03.18 19:19 [1443409] smart account 3NBHyQ67TPHySpoiugp35ZBDmy57KGbLiqH > SELF 0.00000000 Waves

{ "type": 13, "id": "CBQoeT3LdByqJLWJ2K4pYQne7ovyFTb3BtAqHbAZvT9F", "fee": 9000000, "feeAssetId": null, "timestamp": 1616084412411, "version": 2, "chainId": 84, "sender": "3NBHyQ67TPHySpoiugp35ZBDmy57KGbLiqH", "senderPublicKey": "BEhKtjrMZynwX3AJB6WJbFrM6UxW9ytKVsn1nRb7pKrX", "proofs": [ "4WdzG6872UKRiYumywJ6yYo4KrdbjmYLv9Gs2JPK29jy4vVDVMpYRCMdnsUkKN5Xq4fJSRq4HqW5bfex5N3chSop" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEIAAAAAQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIAAAADa2V5AAAAA2FkcgQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAAC3BlcmZvbU9yZGVyAAAAAQAAAARkYXRlBAAAAA1jYWxsZXJBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAABmZpZWxkMQkBAAAAE2dldERhdGFGcm9tQ3VzdG9tZXIAAAACCQABLAAAAAIJAAEsAAAAAgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkCAAAAKl9PUkRFUlM6L0dFVklTRURJMDEvSGVhZGVyL05hY2hyaWNodGVudHlwXwUAAAAEZGF0ZQUAAAANY2FsbGVyQWRkcmVzcwMJAAAAAAAAAgUAAAAGZmllbGQxAgAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AgAAACBfL09SREVSUzA1L0lET0MvRURJX0RDNDAvTUVTVFlQXwUAAAAEZGF0ZQUAAAAGZmllbGQxBQAAAANuaWwJAAACAAAAAQIAAAALZmllbGQgZW1wdHkAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24GBqvLrKg=", "height": 1443409, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FEJggbGwin2fhUngD2gDLCvreh72Jyuq7KgQ5cscJXtN Next: BjuJQcC9hbnVXSbDutRBTrSEywizMzBUpBUUnkT82ivt Diff:
OldNewDifferences
1515 @Callable(i)
1616 func perfomOrder (date) = {
1717 let callerAddress = addressFromPublicKey(i.callerPublicKey)
18- let field1 = getDataFromCustomer((toBase58String(i.callerPublicKey) + "_ORDERS:/GEVISEDI01/Header/Nachrichtentyp_"), callerAddress)
18+ let field1 = getDataFromCustomer(((toBase58String(i.callerPublicKey) + "_ORDERS:/GEVISEDI01/Header/Nachrichtentyp_") + date), callerAddress)
1919 if ((field1 == ""))
20- then [StringEntry("_/ORDERS05/IDOC/EDI_DC40/MESTYP_", field1)]
20+ then [StringEntry(((toBase58String(i.callerPublicKey) + "_/ORDERS05/IDOC/EDI_DC40/MESTYP_") + date), field1)]
2121 else throw("field empty")
2222 }
2323
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getDataFromCustomer (key,adr) = {
55 let data = match getString(adr, key) {
66 case a: String =>
77 a
88 case _ =>
99 ""
1010 }
1111 data
1212 }
1313
1414
1515 @Callable(i)
1616 func perfomOrder (date) = {
1717 let callerAddress = addressFromPublicKey(i.callerPublicKey)
18- let field1 = getDataFromCustomer((toBase58String(i.callerPublicKey) + "_ORDERS:/GEVISEDI01/Header/Nachrichtentyp_"), callerAddress)
18+ let field1 = getDataFromCustomer(((toBase58String(i.callerPublicKey) + "_ORDERS:/GEVISEDI01/Header/Nachrichtentyp_") + date), callerAddress)
1919 if ((field1 == ""))
20- then [StringEntry("_/ORDERS05/IDOC/EDI_DC40/MESTYP_", field1)]
20+ then [StringEntry(((toBase58String(i.callerPublicKey) + "_/ORDERS05/IDOC/EDI_DC40/MESTYP_") + date), field1)]
2121 else throw("field empty")
2222 }
2323
2424
2525 @Verifier(tx)
2626 func verify () = match tx {
2727 case _: DataTransaction =>
2828 true
2929 case _: SetScriptTransaction =>
3030 true
3131 case _ =>
3232 true
3333 }
3434

github/deemru/w8io/169f3d6 
57.85 ms