tx · FpdLp6pc1wh1JKeAjMedfKSrBDjKbg1Q7dLGChazuftP

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.03 00:38 [1596522] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "FpdLp6pc1wh1JKeAjMedfKSrBDjKbg1Q7dLGChazuftP", "fee": 5000000, "feeAssetId": null, "timestamp": 1625261951352, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "66twqevghvVf6mWZbGaSSZgnshwZiX6uGSgKJvxYF4ZvkeAkbrAZZQSPw1wDX33EQLGrRRbwD4cCzbWMWFmunYeA" ], "script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkBAAAAANrZXkJAAEsAAAAAgIAAAAMSW5zdGFudCBzYWxlCQAEsAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAC+vCABQAAAAR1bml0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAA2tleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAp7IHNlbGxlcjogCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAAJLCBuZnRJZDogBQAAAAVuZnRJZAIAAAATLCBwcmljZTogNTAwMDAwMDAgfQUAAAADbmlsAAAAAWkBAAAACGJ1eU9mZmVyAAAAAwAAAApuZnRBc3NldElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAANc2VsbGVyQWRkcmVzcwAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAACWFib3J0U2FsZQAAAAEAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlWp9+L", "height": 1596522, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EVgG9jdnvzBw8eZcav4j5678XxhMniixM1GDpxe5a4es Next: r8z7yZ5L2sYWgz9auqRSua37qPivwAE9bcmknC8z3zk Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
7+func instantSale (nftId) = {
8+ let key = ("Instant sale" + toUtf8String(i.transactionId))
9+[ScriptTransfer(i.caller, 50000000, unit), StringEntry(key, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
10+ }
811
912
1013
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(("Instant sale " + toUtf8String(i.transactionId)), (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
7+func instantSale (nftId) = {
8+ let key = ("Instant sale" + toUtf8String(i.transactionId))
9+[ScriptTransfer(i.caller, 50000000, unit), StringEntry(key, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
10+ }
811
912
1013
1114 @Callable(i)
1215 func buyOffer (nftAssetId,price,sellerAddress) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId)), ScriptTransfer(addressFromStringValue(sellerAddress), 1, unit)]
1316
1417
1518
1619 @Callable(i)
1720 func abortSale (nftAssetId) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId))]
1821
1922
2023 @Verifier(tx)
2124 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2225

github/deemru/w8io/026f985 
22.30 ms