tx · E7YumhTn54M1kVxhbVK3sFwH2VScRmf7uAeu5BChWU69

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.03 01:25 [1596566] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "E7YumhTn54M1kVxhbVK3sFwH2VScRmf7uAeu5BChWU69", "fee": 5000000, "feeAssetId": null, "timestamp": 1625264738271, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "4F5xDYaZARs5NaYSTjbfn5DitC1Qu57APf3Buqz21VWyeHU2kRmf3gn59eDAeMHFLeXLwx6uzjBqSY9NJMuSRXJZ" ], "script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVuZnRJZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAp7IHNlbGxlcjogCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAAJLCBuZnRJZDogBQAAAAVuZnRJZAIAAAAmLCBwcmljZTogNTAwMDAwMDAsIHN0YXR1czogY29tcGxldGVkIH0FAAAAA25pbAAAAAFpAQAAAAhidXlPZmZlcgAAAAMAAAAKbmZ0QXNzZXRJZAAAAAVwcmljZQAAAA1zZWxsZXJBZGRyZXNzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAZsAAAABBQAAAApuZnRBc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAADXNlbGxlckFkZHJlc3MAAAAAAAAAAAEFAAAABHVuaXQFAAAAA25pbAAAAAFpAQAAAAlhYm9ydFNhbGUAAAABAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5j7RRHQ==", "height": 1596566, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Gq48TCa6TWdTUiRtpNVURXgJ15ECMa3unBPwEdxXN8mp Next: DERNjUQGv7oypshCLizJX4UizkftF47VW2UKAPk6hSGt Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func instantSale (nftId) = {
8- let key = ("Instant Sale " + nftId)
9-[ScriptTransfer(i.caller, 50000000, unit), StringEntry(key, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
10- }
7+func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000, status: completed }"))]
118
129
1310
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func instantSale (nftId) = {
8- let key = ("Instant Sale " + nftId)
9-[ScriptTransfer(i.caller, 50000000, unit), StringEntry(key, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
10- }
7+func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(nftId, (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000, status: completed }"))]
118
129
1310
1411 @Callable(i)
1512 func buyOffer (nftAssetId,price,sellerAddress) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId)), ScriptTransfer(addressFromStringValue(sellerAddress), 1, unit)]
1613
1714
1815
1916 @Callable(i)
2017 func abortSale (nftAssetId) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId))]
2118
2219
2320 @Verifier(tx)
2421 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2522

github/deemru/w8io/169f3d6 
22.73 ms