tx · BjLYn8s3b4cRkp29AubYHMrVb2QLRKCcj7oHFiBmmty4

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.05 17:29 [1600405] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "BjLYn8s3b4cRkp29AubYHMrVb2QLRKCcj7oHFiBmmty4", "fee": 5000000, "feeAssetId": null, "timestamp": 1625495383501, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "3NHJFTuUaiGK966cErAeHamw6C1vXTdTg7wMM7sGyvMuqv9XWJ4RXFThVE81mHheW9vRvwFTg8gnRYjrcvJXVsJ4" ], "script": "base64:AAIFAAAAAAAAABkIAhIDCgEIEgUKAwgBCBIDCgEIEgQKAggBAAAAAAAAAAQAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkBAAAAAVwcmljZQIAAAAINTAwMDAwMDAEAAAABnN0YXR1cwIAAAAJY29tcGxldGVkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVuZnRJZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAMeyJzZWxsZXIiOiAiCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAANIiwgInByaWNlIjogIgUAAAAFcHJpY2UCAAAADiIsICJzdGF0dXMiOiAiBQAAAAZzdGF0dXMCAAAAAiJ9BQAAAANuaWwAAAABaQEAAAAIYnV5T2ZmZXIAAAADAAAABW5mdElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MEAAAABnN0YXR1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luZwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVuZnRJZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAMeyJzZWxsZXIiOiAiCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAANIiwgInByaWNlIjogIgkAAaQAAAABBQAAAAVwcmljZQIAAAAOIiwgInN0YXR1cyI6ICIFAAAABnN0YXR1cwIAAAACIn0FAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5tjkNTQ==", "height": 1600405, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GJECexPfxnmXoTeWF8DcMY9g1wPKfzXkMSkKVPtcasq4 Next: 98rwXyMoVqj1JgtLiVaDu4m1s2azCiVHMTHRmZXiucBb Diff:
OldNewDifferences
2424 func cancelOffer (b) = {
2525 let d = "canceled"
2626 let c = "undefined"
27- let f = toBytes(b)
28-[ScriptTransfer(a.caller, 1, f), StringEntry(b, (((((("{\"seller\": \"" + toString(a.caller)) + "\", \"price\": \"") + c) + "\", \"status\": \"") + d) + "\"}"))]
27+[ScriptTransfer(a.caller, 1, toBytes(b)), StringEntry(b, (((((("{\"seller\": \"" + toString(a.caller)) + "\", \"price\": \"") + c) + "\", \"status\": \"") + d) + "\"}"))]
2928 }
3029
3130
3736 }
3837
3938
40-@Verifier(g)
41-func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
39+@Verifier(f)
40+func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey)
4241
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)
1616 func buyOffer (b,c,e) = {
1717 let d = "completed"
1818 [ScriptTransfer(a.caller, 1, toBytes(b)), ScriptTransfer(addressFromStringValue(e), c, unit), StringEntry(b, (((((("{\"seller\": \"" + e) + "\", \"price\": \"") + toString(c)) + "\", \"status\": \"") + d) + "\"}"))]
1919 }
2020
2121
2222
2323 @Callable(a)
2424 func cancelOffer (b) = {
2525 let d = "canceled"
2626 let c = "undefined"
27- let f = toBytes(b)
28-[ScriptTransfer(a.caller, 1, f), StringEntry(b, (((((("{\"seller\": \"" + toString(a.caller)) + "\", \"price\": \"") + c) + "\", \"status\": \"") + d) + "\"}"))]
27+[ScriptTransfer(a.caller, 1, toBytes(b)), StringEntry(b, (((((("{\"seller\": \"" + toString(a.caller)) + "\", \"price\": \"") + c) + "\", \"status\": \"") + d) + "\"}"))]
2928 }
3029
3130
3231
3332 @Callable(a)
3433 func makeOffer (b,c) = {
3534 let d = "pending"
3635 [StringEntry(b, (((((("{\"seller\": \"" + toString(a.caller)) + "\", \"price\": \"") + toString(c)) + "\", \"status\": \"") + d) + "\"}"))]
3736 }
3837
3938
40-@Verifier(g)
41-func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
39+@Verifier(f)
40+func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey)
4241

github/deemru/w8io/169f3d6 
34.27 ms