tx · 84XherACDKqJfncrKQ7new1LLDRjdMFDrs92KRRWTMYi

3Mqnv1LY2i4hshvHyccL5GEAVbVPRerPjKM:  -0.01000000 Waves

2022.11.24 19:08 [2331404] smart account 3Mqnv1LY2i4hshvHyccL5GEAVbVPRerPjKM > SELF 0.00000000 Waves

{ "type": 13, "id": "84XherACDKqJfncrKQ7new1LLDRjdMFDrs92KRRWTMYi", "fee": 1000000, "feeAssetId": null, "timestamp": 1669306196249, "version": 2, "chainId": 84, "sender": "3Mqnv1LY2i4hshvHyccL5GEAVbVPRerPjKM", "senderPublicKey": "FB5Eb3jaoFSDQEnfsjbmvMoP3Cc8ejvBySpsfYWC1vBg", "proofs": [ "2vbHoyn5ukihitcfaA25hdS1sH5ehH9mVHSTdJy5DU9wVPCNcaFBLT6YUpuDaRU2CifusqoRU19ZvzCno66dFELW" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAEBAAAAB2dldERhdGEAAAACAAAAA2FkcgAAAANrZXkEAAAABGRhdGEEAAAAByRtYXRjaDAJAAQcAAAAAgUAAAADYWRyBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAUAAAAEZGF0YQAAAAEAAAABaQEAAAAac2F2ZVZhbHVlT25TdXBwbGllckFjY291bnQAAAACAAAADWRlbEluZlRleHRLZXkAAAAPZGVsSW5mVGV4dFZhbHVlBAAAAAxlZ2dlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAOZWdnZXJQdWJsaWNLZXkJAAJYAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAABJlZ2dlclB1YmxpY0tleUhhc2gJAAH3AAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAACNlZ2dlclB1YmxpY0tleUhhc2hPblN1cHBsaWVyQWNjb3VudAkBAAAAEUBleHRyTmF0aXZlKDEwNTIpAAAAAgUAAAAEdGhpcwIAAAAUY29ubmVjdGlvbi5FZ2dlci5yZWYJAARMAAAAAgkBAAAAC0JpbmFyeUVudHJ5AAAAAgIAAAAMcHViS2V5Q2FsbGVyBQAAABJlZ2dlclB1YmxpY0tleUhhc2gJAARMAAAAAgkBAAAAC0JpbmFyeUVudHJ5AAAAAgIAAAAOcHViS2V5T25TY3JpcHQFAAAAI2VnZ2VyUHVibGljS2V5SGFzaE9uU3VwcGxpZXJBY2NvdW50BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tledVMhY8=", "height": 2331404, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B8Gj92TgwGhSECBnJzaCsS9XHjxhPsyAs3vvZPUNQXyf Next: EYGvqJwNHVCh3L8Duhn1KjSasSS9QerpnWkzTGn9nKNm Diff:
OldNewDifferences
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getData (adr,key) = {
5- let data = match getString(adr, key) {
6- case a: String =>
5+ let data = match getBinary(adr, key) {
6+ case a: ByteVector =>
77 a
88 case _ =>
99 ""
1717 let eggerAddress = toBase58String(i.caller.bytes)
1818 let eggerPublicKey = toBase58String(i.callerPublicKey)
1919 let eggerPublicKeyHash = sha256(i.callerPublicKey)
20- let eggerPublicKeyHashOnSupplierAccount = toBytes(getData(this, "connection.Egger.ref"))
20+ let eggerPublicKeyHashOnSupplierAccount = getBinaryValue(this, "connection.Egger.ref")
2121 [BinaryEntry("pubKeyCaller", eggerPublicKeyHash), BinaryEntry("pubKeyOnScript", eggerPublicKeyHashOnSupplierAccount)]
2222 }
2323
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getData (adr,key) = {
5- let data = match getString(adr, key) {
6- case a: String =>
5+ let data = match getBinary(adr, key) {
6+ case a: ByteVector =>
77 a
88 case _ =>
99 ""
1010 }
1111 data
1212 }
1313
1414
1515 @Callable(i)
1616 func saveValueOnSupplierAccount (delInfTextKey,delInfTextValue) = {
1717 let eggerAddress = toBase58String(i.caller.bytes)
1818 let eggerPublicKey = toBase58String(i.callerPublicKey)
1919 let eggerPublicKeyHash = sha256(i.callerPublicKey)
20- let eggerPublicKeyHashOnSupplierAccount = toBytes(getData(this, "connection.Egger.ref"))
20+ let eggerPublicKeyHashOnSupplierAccount = getBinaryValue(this, "connection.Egger.ref")
2121 [BinaryEntry("pubKeyCaller", eggerPublicKeyHash), BinaryEntry("pubKeyOnScript", eggerPublicKeyHashOnSupplierAccount)]
2222 }
2323
2424
2525 @Verifier(tx)
2626 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2727

github/deemru/w8io/026f985 
18.67 ms