tx · EyKz4xroBaE8jZM41uy9kzXpp6ijW4vMwKJk31AGVojW

3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa:  -0.01400000 Waves

2019.09.08 13:24 [666971] smart account 3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa > SELF 0.00000000 Waves

{ "type": 13, "id": "EyKz4xroBaE8jZM41uy9kzXpp6ijW4vMwKJk31AGVojW", "fee": 1400000, "feeAssetId": null, "timestamp": 1567938291001, "version": 1, "sender": "3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa", "senderPublicKey": "HktRLq8bnL31myXeh7WVXAuMw8Qb7yrhPfMVxucQVeU", "proofs": [ "3F1EoU1Lv2nXfGKUu4FKVYSRjN7pyDEfRaQvSqC7WzkaD37vmWPUS7aRCD2XEAanqo7ZTKBVzkJTjSmTektNHAuL" ], "script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAAhudWxsSG9tZQIAAAABMAAAAAIAAAABaQEAAAAHc2V0aG9tZQAAAAEAAAAGaG9tZUlkBAAAAAxzZWxsZXJCYXNlNTgJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAFd3JpdGUJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADHNlbGxlckJhc2U1OAUAAAAGaG9tZUlkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAApzZXRob21lTG9nCQABLAAAAAIJAAEsAAAAAgUAAAAMc2VsbGVyQmFzZTU4AgAAAAQgLT4gBQAAAAZob21lSWQFAAAAA25pbAkBAAAADFNjcmlwdFJlc3VsdAAAAAIFAAAABXdyaXRlCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwAAAABaQEAAAAEbWFpbgAAAAIAAAAMc2VsbGVyVmVjdG9yAAAABmhvbWVJZAQAAAADcG10CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAFpAAAAB3BheW1lbnQDCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAA3BtdAAAAAdhc3NldElkCQAAAgAAAAECAAAAFXBheW1lbnQgaXMgb25seSB3YXZlcwQAAAAKYnVlckJhc2U1OAkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAA1zZWxsZXJBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAAxzZWxsZXJWZWN0b3IEAAAAAWEJAQAAAAdBZGRyZXNzAAAAAQUAAAAMc2VsbGVyVmVjdG9yBAAAAAJzMQkAAlgAAAABBQAAAAxzZWxsZXJWZWN0b3IEAAAAAnMyCQACWAAAAAEIBQAAAA1zZWxsZXJBZGRyZXNzAAAABWJ5dGVzBAAAAAJzMwkAAlgAAAABCAUAAAABYQAAAAVieXRlcwkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAB21haW5Mb2cJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAAAnMxAgAAAAMgLSAFAAAAAnMyAgAAAAMgLSAFAAAAAnMzAgAAAAQgLT4gBQAAAApidWVyQmFzZTU4BQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAAAAAAonzwX", "chainId": 84, "height": 666971, "spentComplexity": 0 } View: original | compacted Prev: EZNSdMNXuCNLWiWxrAE7rUmowspgx7H6aZZti3JBLuqU Next: CuQTXsDzxMZZRRB4skY9EqsvwZfeW9enfyjhaRQDTP51 Diff:
OldNewDifferences
2020 else {
2121 let buerBase58 = toBase58String(i.caller.bytes)
2222 let sellerAddress = addressFromPublicKey(sellerVector)
23- let sellerBase58 = toBase58String(sellerVector)
24- ScriptResult(WriteSet([DataEntry("mainLog", ((sellerBase58 + " -> ") + buerBase58))]), TransferSet(nil))
23+ let a = Address(sellerVector)
24+ let s1 = toBase58String(sellerVector)
25+ let s2 = toBase58String(sellerAddress.bytes)
26+ let s3 = toBase58String(a.bytes)
27+ ScriptResult(WriteSet([DataEntry("mainLog", ((((((s1 + " - ") + s2) + " - ") + s3) + " -> ") + buerBase58))]), TransferSet(nil))
2528 }
2629 }
2730
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let nullHome = "0"
55
66 @Callable(i)
77 func sethome (homeId) = {
88 let sellerBase58 = toBase58String(i.caller.bytes)
99 let write = WriteSet([DataEntry(sellerBase58, homeId), DataEntry("sethomeLog", ((sellerBase58 + " -> ") + homeId))])
1010 ScriptResult(write, TransferSet(nil))
1111 }
1212
1313
1414
1515 @Callable(i)
1616 func main (sellerVector,homeId) = {
1717 let pmt = extract(i.payment)
1818 if (isDefined(pmt.assetId))
1919 then throw("payment is only waves")
2020 else {
2121 let buerBase58 = toBase58String(i.caller.bytes)
2222 let sellerAddress = addressFromPublicKey(sellerVector)
23- let sellerBase58 = toBase58String(sellerVector)
24- ScriptResult(WriteSet([DataEntry("mainLog", ((sellerBase58 + " -> ") + buerBase58))]), TransferSet(nil))
23+ let a = Address(sellerVector)
24+ let s1 = toBase58String(sellerVector)
25+ let s2 = toBase58String(sellerAddress.bytes)
26+ let s3 = toBase58String(a.bytes)
27+ ScriptResult(WriteSet([DataEntry("mainLog", ((((((s1 + " - ") + s2) + " - ") + s3) + " -> ") + buerBase58))]), TransferSet(nil))
2528 }
2629 }
2730
2831

github/deemru/w8io/169f3d6 
37.64 ms