tx · 6dkUU8STfVLRKFNC5NKMCvA5SS3ypqCiTzBohR342A6m

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.02 21:40 [1596347] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "6dkUU8STfVLRKFNC5NKMCvA5SS3ypqCiTzBohR342A6m", "fee": 5000000, "feeAssetId": null, "timestamp": 1625251247337, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "2CaUhffVPsZVDw5hY8gvf7vmybXkp9fXfHtjaAky9ubXHDMJWto7ZorKEVkeCzcWH7mZU3CcXTzgvbcFtu9uikQT" ], "script": "base64:AAIFAAAAAAAAABQIAhIECgIIARIFCgMIAQgSAwoBCAAAAAAAAAADAAAAAWkBAAAAC2luc3RhbnRTYWxlAAAAAgAAAAVuZnRJZAAAAAVwcmljZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAL68IAFAAAABHVuaXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAA1JbnN0YW50IHNhbGUgCQAEsAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAACnsgc2VsbGVyOiAJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAgAAAAksIG5mdElkOiAFAAAABW5mdElkAgAAAAksIHByaWNlOiAJAAGkAAAAAQUAAAAFcHJpY2UCAAAAAiB9BQAAAANuaWwAAAABaQEAAAAIYnV5T2ZmZXIAAAADAAAACm5mdEFzc2V0SWQAAAAFcHJpY2UAAAANc2VsbGVyQWRkcmVzcwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAA1zZWxsZXJBZGRyZXNzAAAAAAAAAAABBQAAAAR1bml0BQAAAANuaWwAAAABaQEAAAAJYWJvcnRTYWxlAAAAAQAAAApuZnRBc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAZsAAAABBQAAAApuZnRBc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlefmASrc=", "height": 1596347, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9McLqoNfkhJpKqM6upbLvh8gCm5JHj2toADTKxAqU7Yo Next: BKkJ4swyius7UuoHuki6B162mXNAW86ubkgJMXDnCErK Diff:
OldNewDifferences
44
55
66 @Callable(i)
7-func instantSale () = [ScriptTransfer(i.caller, 50000000, unit)]
7+func instantSale (nftId,price) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: ") + toString(price)) + " }"))]
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 () = [ScriptTransfer(i.caller, 50000000, unit)]
7+func instantSale (nftId,price) = [ScriptTransfer(i.caller, 50000000, unit), StringEntry(("Instant sale " + toUtf8String(i.transactionId)), (((((("{ seller: " + toString(i.caller)) + ", nftId: ") + nftId) + ", price: ") + toString(price)) + " }"))]
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/026f985 
39.94 ms