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:
OldNewDifferences
55
66 @Callable(i)
77 func call () = {
8- let xtnRewardAmountForPeriod = 185148
8+ let xtnRewardAmountForPeriod = 1851488493758493
99 let totalSurfStaked = 10000000000
1010 let MULT8 = 100000000
1111 let MULT10 = 10000000000
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func call () = {
8- let xtnRewardAmountForPeriod = 185148
8+ let xtnRewardAmountForPeriod = 1851488493758493
99 let totalSurfStaked = 10000000000
1010 let MULT8 = 100000000
1111 let MULT10 = 10000000000
1212 let firstFraction = fraction(xtnRewardAmountForPeriod, MULT8, totalSurfStaked, HALFUP)
1313 let backwardFraction = fraction(firstFraction, totalSurfStaked, MULT8, HALFUP)
1414 let firstFraction2 = fraction(xtnRewardAmountForPeriod, MULT10, totalSurfStaked, HALFUP)
1515 let backwardFraction2 = fraction(firstFraction2, totalSurfStaked, MULT10, HALFUP)
1616 [IntegerEntry("MULT8Result", backwardFraction), IntegerEntry("MULT10Result", backwardFraction2)]
1717 }
1818
1919
2020 @Verifier(tx)
2121 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2222

github/deemru/w8io/169f3d6 
30.79 ms