tx · BSY88Dga5rjQMVYxgDotqCBvTSoamy7U3MVK4UYpTpKr

3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m:  -0.05000000 Waves

2021.07.02 19:44 [1596233] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves

{ "type": 13, "id": "BSY88Dga5rjQMVYxgDotqCBvTSoamy7U3MVK4UYpTpKr", "fee": 5000000, "feeAssetId": null, "timestamp": 1625244312050, "version": 2, "chainId": 84, "sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m", "senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7", "proofs": [ "5ezTiNcGKVFqxPeVv94C7qisUAgXRgSfntRtTL3RPtTj9hmygKW2B2RHz9vgye7D2vocDnuwxaxASEpSr967q9JE" ], "script": "base64:AAIFAAAAAAAAABAIAhIAEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAAACQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGkAAAACAAAAAAAAAAABAAAAAAAAAAACBQAAAAR1bml0BQAAAANuaWwAAAABaQEAAAAIYnV5T2ZmZXIAAAADAAAACm5mdEFzc2V0SWQAAAAFcHJpY2UAAAANc2VsbGVyQWRkcmVzcwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAEJAAGbAAAAAQUAAAAKbmZ0QXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAA1zZWxsZXJBZGRyZXNzAAAAAAAAAAABBQAAAAR1bml0BQAAAANuaWwAAAABaQEAAAAJYWJvcnRTYWxlAAAAAQAAAApuZnRBc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAZsAAAABBQAAAApuZnRBc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tledL4Fkw=", "height": 1596233, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: kPQQZfWmkPziHpZCcpLvRB3RrwEkQ9cdC7yB6ouxbRT Next: 8XbrrN8YcgAoqdF8zpEkij5rwrgYjy8aKPYL2Bd6aNtC Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func call () = {
8- let asset = Issue("Asset", "", 1, 0, true, unit, 0)
9- let assetId = calculateAssetId(asset)
10-[BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), asset, Reissue(assetId, 1, false), Burn(assetId, 1), ScriptTransfer(i.caller, 1, assetId)]
11- }
7+func instantSale () = [ScriptTransfer(i.caller, (1 / 2), unit)]
8+
9+
10+
11+@Callable(i)
12+func buyOffer (nftAssetId,price,sellerAddress) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId)), ScriptTransfer(addressFromStringValue(sellerAddress), 1, unit)]
13+
14+
15+
16+@Callable(i)
17+func abortSale (nftAssetId) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId))]
1218
1319
1420 @Verifier(tx)
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func call () = {
8- let asset = Issue("Asset", "", 1, 0, true, unit, 0)
9- let assetId = calculateAssetId(asset)
10-[BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), asset, Reissue(assetId, 1, false), Burn(assetId, 1), ScriptTransfer(i.caller, 1, assetId)]
11- }
7+func instantSale () = [ScriptTransfer(i.caller, (1 / 2), unit)]
8+
9+
10+
11+@Callable(i)
12+func buyOffer (nftAssetId,price,sellerAddress) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId)), ScriptTransfer(addressFromStringValue(sellerAddress), 1, unit)]
13+
14+
15+
16+@Callable(i)
17+func abortSale (nftAssetId) = [ScriptTransfer(i.caller, 1, toBytes(nftAssetId))]
1218
1319
1420 @Verifier(tx)
1521 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1622

github/deemru/w8io/169f3d6 
26.71 ms