tx · 5Xxnxmv8gWXFe9vNMpedvduQvgeghF7RSfw9TiyvuZrq

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.03 19:16 [1597639] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "5Xxnxmv8gWXFe9vNMpedvduQvgeghF7RSfw9TiyvuZrq", "fee": 5000000, "feeAssetId": null, "timestamp": 1625329062377, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "3jPDLt3GSm88Xu3JkX2E6fQUp8YKNcXqg6b29QArfrHUq5EsYmHK5T7ATDgMCyr1n5RaTAUVoE8189yBqnjVuVvz" ], "script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkBAAAAAVwcmljZQIAAAAINTAwMDAwMDAEAAAABnN0YXR1cwIAAAAJY29tcGxldGVkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVuZnRJZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAMeyJzZWxsZXIiOiAiCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAANIiwgInByaWNlIjogIgUAAAAFcHJpY2UCAAAADiIsICJzdGF0dXMiOiAiBQAAAAZzdGF0dXMCAAAAAiJ9BQAAAANuaWwAAAABaQEAAAAIYnV5T2ZmZXIAAAADAAAABW5mdElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MEAAAABnN0YXR1cwIAAAAJY29tcGxldGVkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAZsAAAABBQAAAAVuZnRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAA1zZWxsZXJBZGRyZXNzAAAAAAAAAAABBQAAAAR1bml0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAABW5mdElkCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAx7InNlbGxlciI6ICIFAAAADXNlbGxlckFkZHJlc3MCAAAADSIsICJwcmljZSI6ICIJAAGkAAAAAQUAAAAFcHJpY2UCAAAADiIsICJzdGF0dXMiOiAiBQAAAAZzdGF0dXMCAAAAAiJ9BQAAAANuaWwAAAABaQEAAAAJYWJvcnRTYWxlAAAAAQAAAApuZnRBc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAZsAAAABBQAAAApuZnRBc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZgM85A=", "height": 1597639, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A53oQ52EQdJBFsDBa9aujXM85jdJUgc242MEY91BkxzT Next: C79PyCfxeiHg5Z1vXGy3a6n1utXJ6MfRg1TrqwVwVmb8 Diff:
OldNewDifferences
1313
1414
1515 @Callable(a)
16-func buyOffer (e,c,f) = [ScriptTransfer(a.caller, 1, toBytes(e)), ScriptTransfer(addressFromStringValue(f), 1, unit)]
16+func buyOffer (b,c,e) = {
17+ let d = "completed"
18+[ScriptTransfer(a.caller, 1, toBytes(b)), ScriptTransfer(addressFromStringValue(e), 1, unit), StringEntry(b, (((((("{\"seller\": \"" + e) + "\", \"price\": \"") + toString(c)) + "\", \"status\": \"") + d) + "\"}"))]
19+ }
1720
1821
1922
2023 @Callable(a)
21-func abortSale (e) = [ScriptTransfer(a.caller, 1, toBytes(e))]
24+func abortSale (f) = [ScriptTransfer(a.caller, 1, toBytes(f))]
2225
2326
2427 @Verifier(g)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func instantSale (b) = {
88 let c = "50000000"
99 let d = "completed"
1010 [ScriptTransfer(a.caller, 50000000, unit), StringEntry(b, (((((("{\"seller\": \"" + toString(a.caller)) + "\", \"price\": \"") + c) + "\", \"status\": \"") + d) + "\"}"))]
1111 }
1212
1313
1414
1515 @Callable(a)
16-func buyOffer (e,c,f) = [ScriptTransfer(a.caller, 1, toBytes(e)), ScriptTransfer(addressFromStringValue(f), 1, unit)]
16+func buyOffer (b,c,e) = {
17+ let d = "completed"
18+[ScriptTransfer(a.caller, 1, toBytes(b)), ScriptTransfer(addressFromStringValue(e), 1, unit), StringEntry(b, (((((("{\"seller\": \"" + e) + "\", \"price\": \"") + toString(c)) + "\", \"status\": \"") + d) + "\"}"))]
19+ }
1720
1821
1922
2023 @Callable(a)
21-func abortSale (e) = [ScriptTransfer(a.caller, 1, toBytes(e))]
24+func abortSale (f) = [ScriptTransfer(a.caller, 1, toBytes(f))]
2225
2326
2427 @Verifier(g)
2528 func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
2629

github/deemru/w8io/026f985 
28.73 ms