tx · Aqu8yCzXiSynciWWDA49h8WXdcPNcjDvNnCq8cnqDkYi 3Mqtt9kSfBxTt5wKrQmeWSgMiP1EoWqi6DK: -0.14000000 Waves 2021.12.29 09:45 [1855170] smart account 3Mqtt9kSfBxTt5wKrQmeWSgMiP1EoWqi6DK > SELF 0.00000000 Waves
{ "type": 13, "id": "Aqu8yCzXiSynciWWDA49h8WXdcPNcjDvNnCq8cnqDkYi", "fee": 14000000, "feeAssetId": null, "timestamp": 1640760345181, "version": 2, "chainId": 84, "sender": "3Mqtt9kSfBxTt5wKrQmeWSgMiP1EoWqi6DK", "senderPublicKey": "CRw5cLM5Fwx3EoofhrEdm1FcwXVTrBvD7u19dwvUUBAk", "proofs": [ "2DUQ5bYNqF7vpt3qpK3WfmbDbxmN6MgBsX2mSAoJKMimq4vMvc25DmJxYG5UDdkYBPwsbutMhMsLdZyzhWdozJme" ], "script": "base64:AAIFAAAAAAAAAD8IAhIFCgMBAQEaBgoBYRIBaRoGCgFiEgFhGgYKAWMSAWIaBgoBZBIBYxoHCgFlEgJ0eBoLCgFmEgZ2ZXJpZnkAAAAAAAAAAQAAAAFhAQAAAARjYWxsAAAAAwAAAAFiAAAAAWMAAAABZAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAHQ0VJTElORwkBAAAACGZyYWN0aW9uAAAABAUAAAABYgUAAAABYwUAAAABZAUAAAAHQ0VJTElORwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAGSEFMRlVQCQEAAAAIZnJhY3Rpb24AAAAEBQAAAAFiBQAAAAFjBQAAAAFkBQAAAAZIQUxGVVAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACEhBTEZFVkVOCQEAAAAIZnJhY3Rpb24AAAAEBQAAAAFiBQAAAAFjBQAAAAFkBQAAAAhIQUxGRVZFTgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAERE9XTgkBAAAACGZyYWN0aW9uAAAABAUAAAABYgUAAAABYwUAAAABZAUAAAAERE9XTgUAAAADbmlsAAAAAQAAAAFlAQAAAAFmAAAAAAkAAfQAAAADCAUAAAABZQAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAWUAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABZQAAAA9zZW5kZXJQdWJsaWNLZXnwEGmX", "height": 1855170, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3SP9YjHEedPt3JPxBmesapRPPEV1BuVgob93BRZL7ZsE Next: 4oVksS6g6i7AR96fo6ifj4iZFbNyh5SvKRpUppKniDUW Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func call (a,b,c) = { | |
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, fraction(a, b, c, CEILING), assetId)] | |
11 | - | } | |
7 | + | func call (a,b,c) = [IntegerEntry("CEILING", fraction(a, b, c, CEILING)), IntegerEntry("HALFUP", fraction(a, b, c, HALFUP)), IntegerEntry("HALFEVEN", fraction(a, b, c, HALFEVEN)), IntegerEntry("DOWN", fraction(a, b, c, DOWN))] | |
12 | 8 | ||
13 | 9 | ||
14 | 10 | @Verifier(tx) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func call (a,b,c) = { | |
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, fraction(a, b, c, CEILING), assetId)] | |
11 | - | } | |
7 | + | func call (a,b,c) = [IntegerEntry("CEILING", fraction(a, b, c, CEILING)), IntegerEntry("HALFUP", fraction(a, b, c, HALFUP)), IntegerEntry("HALFEVEN", fraction(a, b, c, HALFEVEN)), IntegerEntry("DOWN", fraction(a, b, c, DOWN))] | |
12 | 8 | ||
13 | 9 | ||
14 | 10 | @Verifier(tx) | |
15 | 11 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
16 | 12 |
github/deemru/w8io/169f3d6 31.84 ms ◑