tx · GruooPbMuxmbfw8r9hHR7JKS6SJGyguXKgWLWKwtAqNR 3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj: -0.01400000 Waves 2021.09.01 20:34 [1684268] smart account 3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj > SELF 0.00000000 Waves
{ "type": 13, "id": "GruooPbMuxmbfw8r9hHR7JKS6SJGyguXKgWLWKwtAqNR", "fee": 1400000, "feeAssetId": null, "timestamp": 1630517660567, "version": 2, "chainId": 84, "sender": "3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj", "senderPublicKey": "B3kVAcfHfuwyGJTvyUjyTdUnJYmkZJs1QYHmQNiXXXEX", "proofs": [ "4cN264nV2vJeWjaEk4Ae1XohkZdg2uMuvRuuyMjU9VVhqfXDWhBKxBznzDNiFVAxKABXWGDkcqUCSZ5V8A6kXTAT" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABGFyZzEJAABsAAAABgAAAAAAAA9CQAAAAAAAAAAABgAAAAAAAAAABQAAAAAAAAAAAgAAAAAAAAAABgUAAAAERE9XTgQAAAAEYXJnMgkAAGwAAAAGAAAAAAAAmJaAAAAAAAAAAAAHAAAAAAAAAAAFAAAAAAAAAAACAAAAAAAAAAAHBQAAAARET1dOBAAAAA1zaGFyZURlY2ltYWxzCQAAaQAAAAIJAABkAAAAAgAAAAAAAAAABgAAAAAAAAAABwAAAAAAAAAAAgQAAAAEYXJnMwkAAGwAAAAGAAAAAAAAAAAKAAAAAAAAAAAABQAAAA1zaGFyZURlY2ltYWxzAAAAAAAAAAAAAAAAAAAAAAAABQAAAARET1dOBAAAABJzaGFyZUluaXRpYWxTdXBwbHkJAABrAAAAAwUAAAAEYXJnMQUAAAAEYXJnMgUAAAAEYXJnMwQAAAAKc2hhcmVJc3N1ZQkABEIAAAAFAgAAAANBQkMCAAAACEEgcGx1cyBCAAAAAAAAACcQBQAAAA1zaGFyZURlY2ltYWxzBgQAAAAMc2hhcmVJc3N1ZUlkCQAEOAAAAAEFAAAACnNoYXJlSXNzdWUJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWFyZ3MxBQAAAARhcmcxCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAVhcmdzMgUAAAAEYXJnMQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFYXJnczMFAAAABGFyZzEJAARMAAAAAgUAAAAKc2hhcmVJc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAAEnNoYXJlSW5pdGlhbFN1cHBseQUAAAAMc2hhcmVJc3N1ZUlkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQRDHAs=", "height": 1684268, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 5YVPoTYHfx77MacWn3ijzsSaCCDccGikn82WcX8NU1Lf Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func call () = { | |
8 | + | let arg1 = pow(1000000, 6, 5, 2, 6, DOWN) | |
9 | + | let arg2 = pow(10000000, 7, 5, 2, 7, DOWN) | |
10 | + | let shareDecimals = ((6 + 7) / 2) | |
11 | + | let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN) | |
12 | + | let shareInitialSupply = fraction(arg1, arg2, arg3) | |
13 | + | let shareIssue = Issue("ABC", "A plus B", 10000, shareDecimals, true) | |
14 | + | let shareIssueId = calculateAssetId(shareIssue) | |
15 | + | [IntegerEntry("args1", arg1), IntegerEntry("args2", arg1), IntegerEntry("args3", arg1), shareIssue, ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)] | |
16 | + | } | |
17 | + | ||
18 | + | ||
19 | + | @Verifier(tx) | |
20 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
21 | + |
github/deemru/w8io/169f3d6 14.76 ms ◑