tx · EJHFHj3C7MmZcR7iFxEhen3QQzKAMfiD75hphMooZhXS

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.02 23:19 [1596451] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "EJHFHj3C7MmZcR7iFxEhen3QQzKAMfiD75hphMooZhXS", "fee": 5000000, "feeAssetId": null, "timestamp": 1625257172517, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "VHgZRWEa5R7tTR72WQBvQhtKwUmeXN9T8sSuRvWNY65yWyTpKz1gFtxEeoqMyJerYm3pRoAWTFw6cFqBnf4uw3m" ], "script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAADUluc3RhbnQgc2FsZSAJAASwAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAp7IHNlbGxlcjogCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAAJLCBuZnRJZDogBQAAAAVuZnRJZAIAAAATLCBwcmljZTogNTAwMDAwMDAgfQUAAAADbmlsAAAAAWkBAAAACGJ1eU9mZmVyAAAAAwAAAApuZnRBc3NldElkAAAABXByaWNlAAAADXNlbGxlckFkZHJlc3MJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAANc2VsbGVyQWRkcmVzcwAAAAAAAAAAAQUAAAAEdW5pdAUAAAADbmlsAAAAAWkBAAAACWFib3J0U2FsZQAAAAEAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmcT9Iv", "height": 1596451, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BxNnfWo7CB56mnFEirVFAJ3XwpWQ7wtD9zuXcgryqiS5 Next: 7xgtnMt33vtpetry2JzK8hvnnFd9w3c418iE4tzivZvB Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func instantSale (dataArray) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((((("{ seller: " + toString(i.caller)) + ", nftId: ") + dataArray[0]) + ", price: ") + dataArray[1]) + " }"))]
7+func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
88
99
1010
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func instantSale (dataArray) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((((("{ seller: " + toString(i.caller)) + ", nftId: ") + dataArray[0]) + ", price: ") + dataArray[1]) + " }"))]
7+func instantSale (nftId) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: 50000000 }"))]
88
99
1010
1111 @Callable(i)
1212 func buyOffer (nftAssetId,price,sellerAddress) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId)), ScriptTransfer(addressFromStringValue(sellerAddress), 1, unit)]
1313
1414
1515
1616 @Callable(i)
1717 func abortSale (nftAssetId) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId))]
1818
1919
2020 @Verifier(tx)
2121 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2222

github/deemru/w8io/169f3d6 
67.67 ms