tx · FyRcEDZfr1U9Eb7ypoc4FyMmJ1dG5YJpg7kgYnPRt9x1
3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj: -0.01400000 Waves
2021.09.01 20:36 [1684271] smart account 3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj > SELF 0.00000000 Waves
{
"type": 13,
"id": "FyRcEDZfr1U9Eb7ypoc4FyMmJ1dG5YJpg7kgYnPRt9x1",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1630517930532,
"version": 2,
"chainId": 84,
"sender": "3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj",
"senderPublicKey": "B3kVAcfHfuwyGJTvyUjyTdUnJYmkZJs1QYHmQNiXXXEX",
"proofs": [
"mirZWPSKgCZBnC64ocbSwz1ajZwGkwkmkM94ummbfVRXYtQLW47fpPYUfTaA7xpoQVBzgavQG55DNqm2RrZwVVk"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABGFyZzEJAABsAAAABgAAAAAAAA9CQAAAAAAAAAAABgAAAAAAAAAABQAAAAAAAAAAAgAAAAAAAAAABgUAAAAERE9XTgQAAAAEYXJnMgkAAGwAAAAGAAAAAAAAmJaAAAAAAAAAAAAHAAAAAAAAAAAFAAAAAAAAAAACAAAAAAAAAAAHBQAAAARET1dOBAAAAA1zaGFyZURlY2ltYWxzCQAAaQAAAAIJAABkAAAAAgAAAAAAAAAABgAAAAAAAAAABwAAAAAAAAAAAgQAAAAEYXJnMwkAAGwAAAAGAAAAAAAAAAAKAAAAAAAAAAAABQAAAA1zaGFyZURlY2ltYWxzAAAAAAAAAAAAAAAAAAAAAAAABQAAAARET1dOCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAVhcmdzMQUAAAAEYXJnMQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFYXJnczIFAAAABGFyZzEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWFyZ3MzBQAAAARhcmcxBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleYlCu9s=",
"height": 1684271,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GDhBJHSBRszvkvXKTGWZLoUc8oXq5rnxLW23g3gnV1pT
Next: E1PMSCmvTKtXQGQx8zehDTS6uneg52iLjFvZjgnbYRC9
Diff:
Old | New | | Differences |
---|
9 | 9 | | let arg2 = pow(10000000, 7, 5, 2, 7, DOWN) |
---|
10 | 10 | | let shareDecimals = ((6 + 7) / 2) |
---|
11 | 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 | 12 | | [IntegerEntry("args1", arg1), IntegerEntry("args2", arg1), IntegerEntry("args3", arg1)] |
---|
16 | 13 | | } |
---|
17 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func call () = { |
---|
8 | 8 | | let arg1 = pow(1000000, 6, 5, 2, 6, DOWN) |
---|
9 | 9 | | let arg2 = pow(10000000, 7, 5, 2, 7, DOWN) |
---|
10 | 10 | | let shareDecimals = ((6 + 7) / 2) |
---|
11 | 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 | 12 | | [IntegerEntry("args1", arg1), IntegerEntry("args2", arg1), IntegerEntry("args3", arg1)] |
---|
16 | 13 | | } |
---|
17 | 14 | | |
---|
18 | 15 | | |
---|
19 | 16 | | @Verifier(tx) |
---|
20 | 17 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
21 | 18 | | |
---|