tx · 2phGpJekHXDiFKZRj69Q6BZ8Pu2NEzC31i99FUQ86h3B

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.03 01:34 [1596574] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "2phGpJekHXDiFKZRj69Q6BZ8Pu2NEzC31i99FUQ86h3B", "fee": 5000000, "feeAssetId": null, "timestamp": 1625265304969, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "4XtHTaLBe56P8zgqBSnozcE1MzuFycz4McUigGwKyJ1MNNHN2DrUXQ46aYZkp3rj8Cza3mhbL6L9FwEL2dBNN2v7" ], "script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkBAAAAAVwcmljZQIAAAAINTAwMDAwMDAEAAAABnN0YXR1cwIAAAAJY29tcGxldGVkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVuZnRJZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAMeyAnc2VsbGVyJzogCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAALLCAncHJpY2UnOiAFAAAABXByaWNlAgAAAAwsICdzdGF0dXMnOiAFAAAABnN0YXR1cwIAAAABfQUAAAADbmlsAAAAAWkBAAAACGJ1eU9mZmVyAAAAAwAAAApuZnRBc3NldElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAANc2VsbGVyQWRkcmVzcwAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAACWFib3J0U2FsZQAAAAEAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmndOh/", "height": 1596574, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DERNjUQGv7oypshCLizJX4UizkftF47VW2UKAPk6hSGt Next: A53oQ52EQdJBFsDBa9aujXM85jdJUgc242MEY91BkxzT Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (("{ seller: " + toString(i.caller)) + ", price: 50000000, status: completed }"))]
7+func instantSale (nftId) = {
8+ let price = "50000000"
9+ let status = "completed"
10+[ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (((((("{ 'seller': " + toString(i.caller)) + ", 'price': ") + price) + ", 'status': ") + status) + "}"))]
11+ }
812
913
1014
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (("{ seller: " + toString(i.caller)) + ", price: 50000000, status: completed }"))]
7+func instantSale (nftId) = {
8+ let price = "50000000"
9+ let status = "completed"
10+[ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (((((("{ 'seller': " + toString(i.caller)) + ", 'price': ") + price) + ", 'status': ") + status) + "}"))]
11+ }
812
913
1014
1115 @Callable(i)
1216 func buyOffer (nftAssetId,price,sellerAddress) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId)), ScriptTransfer(addressFromStringValue(sellerAddress), 1, unit)]
1317
1418
1519
1620 @Callable(i)
1721 func abortSale (nftAssetId) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId))]
1822
1923
2024 @Verifier(tx)
2125 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2226

github/deemru/w8io/026f985 
21.18 ms