tx · 6GJ8Pw5Ro7dUHhFnybAmm4PsvrDsAMq79TfKoMVPHLPd 3N76KUacWfHQVxPDUer7zLgFtEAgCQSmmsd: -0.01000000 Waves 2023.06.15 18:09 [2623920] smart account 3N76KUacWfHQVxPDUer7zLgFtEAgCQSmmsd > SELF 0.00000000 Waves
{ "type": 13, "id": "6GJ8Pw5Ro7dUHhFnybAmm4PsvrDsAMq79TfKoMVPHLPd", "fee": 1000000, "feeAssetId": null, "timestamp": 1686841827920, "version": 2, "chainId": 84, "sender": "3N76KUacWfHQVxPDUer7zLgFtEAgCQSmmsd", "senderPublicKey": "DNDe2ziQMdDJSijzg5hDggeA1yxxwiAdqiu2hKo6dPSb", "proofs": [ "5PKQbZsxgnDoYCrMf66Cfq3edTHTjopToF53n4hECAEdsKC36v3ha6eujWzLVYGL5aRs8nKmhCCwqmESeVMH5Hov" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAAGHh0blJld2FyZEFtb3VudEZvclBlcmlvZAAABpPrQfnoHQQAAAAPdG90YWxTdXJmU3Rha2VkAAAAAAJUC+QABAAAAAVNVUxUOAAAAAAABfXhAAQAAAAGTVVMVDEwAAAAAAJUC+QABAAAAA1maXJzdEZyYWN0aW9uCQEAAAAIZnJhY3Rpb24AAAAEBQAAABh4dG5SZXdhcmRBbW91bnRGb3JQZXJpb2QFAAAABU1VTFQ4BQAAAA90b3RhbFN1cmZTdGFrZWQFAAAABkhBTEZVUAQAAAAQYmFja3dhcmRGcmFjdGlvbgkBAAAACGZyYWN0aW9uAAAABAUAAAANZmlyc3RGcmFjdGlvbgUAAAAPdG90YWxTdXJmU3Rha2VkBQAAAAVNVUxUOAUAAAAGSEFMRlVQBAAAAA5maXJzdEZyYWN0aW9uMgkBAAAACGZyYWN0aW9uAAAABAUAAAAYeHRuUmV3YXJkQW1vdW50Rm9yUGVyaW9kBQAAAAZNVUxUMTAFAAAAD3RvdGFsU3VyZlN0YWtlZAUAAAAGSEFMRlVQBAAAABFiYWNrd2FyZEZyYWN0aW9uMgkBAAAACGZyYWN0aW9uAAAABAUAAAAOZmlyc3RGcmFjdGlvbjIFAAAAD3RvdGFsU3VyZlN0YWtlZAUAAAAGTVVMVDEwBQAAAAZIQUxGVVAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAC01VTFQ4UmVzdWx0BQAAABBiYWNrd2FyZEZyYWN0aW9uCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAxNVUxUMTBSZXN1bHQFAAAAEWJhY2t3YXJkRnJhY3Rpb24yBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZwW8EA=", "height": 2623920, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9kTedHVJK4fWtQEenvG3nvZjirYfihoYPtK5tmZN1vhc Next: 6xt8zPVxYdDCQQ1wJcvGUKbZiYs7y2VJW6qQxTKeW3i9 Diff:
Old | New | Differences | |
---|---|---|---|
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func call () = { | |
8 | - | let xtnRewardAmountForPeriod = | |
8 | + | let xtnRewardAmountForPeriod = 1851488493758493 | |
9 | 9 | let totalSurfStaked = 10000000000 | |
10 | 10 | let MULT8 = 100000000 | |
11 | 11 | let MULT10 = 10000000000 |
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 | 7 | func call () = { | |
8 | - | let xtnRewardAmountForPeriod = | |
8 | + | let xtnRewardAmountForPeriod = 1851488493758493 | |
9 | 9 | let totalSurfStaked = 10000000000 | |
10 | 10 | let MULT8 = 100000000 | |
11 | 11 | let MULT10 = 10000000000 | |
12 | 12 | let firstFraction = fraction(xtnRewardAmountForPeriod, MULT8, totalSurfStaked, HALFUP) | |
13 | 13 | let backwardFraction = fraction(firstFraction, totalSurfStaked, MULT8, HALFUP) | |
14 | 14 | let firstFraction2 = fraction(xtnRewardAmountForPeriod, MULT10, totalSurfStaked, HALFUP) | |
15 | 15 | let backwardFraction2 = fraction(firstFraction2, totalSurfStaked, MULT10, HALFUP) | |
16 | 16 | [IntegerEntry("MULT8Result", backwardFraction), IntegerEntry("MULT10Result", backwardFraction2)] | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | @Verifier(tx) | |
21 | 21 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
22 | 22 |
github/deemru/w8io/169f3d6 30.79 ms ◑