tx · 6xt8zPVxYdDCQQ1wJcvGUKbZiYs7y2VJW6qQxTKeW3i9 3N76KUacWfHQVxPDUer7zLgFtEAgCQSmmsd: -0.01000000 Waves 2023.09.06 14:22 [2743447] smart account 3N76KUacWfHQVxPDUer7zLgFtEAgCQSmmsd > SELF 0.00000000 Waves
{ "type": 13, "id": "6xt8zPVxYdDCQQ1wJcvGUKbZiYs7y2VJW6qQxTKeW3i9", "fee": 1000000, "feeAssetId": null, "timestamp": 1693999335099, "version": 2, "chainId": 84, "sender": "3N76KUacWfHQVxPDUer7zLgFtEAgCQSmmsd", "senderPublicKey": "DNDe2ziQMdDJSijzg5hDggeA1yxxwiAdqiu2hKo6dPSb", "proofs": [ "23ZCCPhnEae3NUdKkiCNRSYNpb1QtRnxHnqLj2vmzpT3p33hKxGCwJoNmWvRheAsu32dBY93chKM8MTZhv15mrdT" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAQAAAAAOYm9vc3RlckFkZHJlc3MBAAAAILe7uwQdyjpoAH0Y53OmjKjgQbqapAWHq1NVeLTARfoUAAAAAQAAAAFpAQAAAARjYWxsAAAAAAkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgIAAAAKRXhlY3V0ZWRfMgYFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5ib29zdGVyQWRkcmVzc37xhXQ=", "height": 2743447, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6GJ8Pw5Ro7dUHhFnybAmm4PsvrDsAMq79TfKoMVPHLPd Next: 9gAr7TiJTynvkVpjcekK1fMHcETZm4DourEKssXeff8r Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | ||
4 | + | let boosterAddress = base58'DNDe2ziQMdDJSijzg5hDggeA1yxxwiAdqiu2hKo6dPSb' | |
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func call () = { | |
8 | - | let xtnRewardAmountForPeriod = 1851488493758493 | |
9 | - | let totalSurfStaked = 10000000000 | |
10 | - | let MULT8 = 100000000 | |
11 | - | let MULT10 = 10000000000 | |
12 | - | let firstFraction = fraction(xtnRewardAmountForPeriod, MULT8, totalSurfStaked, HALFUP) | |
13 | - | let backwardFraction = fraction(firstFraction, totalSurfStaked, MULT8, HALFUP) | |
14 | - | let firstFraction2 = fraction(xtnRewardAmountForPeriod, MULT10, totalSurfStaked, HALFUP) | |
15 | - | let backwardFraction2 = fraction(firstFraction2, totalSurfStaked, MULT10, HALFUP) | |
16 | - | [IntegerEntry("MULT8Result", backwardFraction), IntegerEntry("MULT10Result", backwardFraction2)] | |
17 | - | } | |
7 | + | func call () = [BooleanEntry("Executed_2", true)] | |
18 | 8 | ||
19 | 9 | ||
20 | 10 | @Verifier(tx) | |
21 | - | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], | |
11 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], boosterAddress) | |
22 | 12 |
github/deemru/w8io/169f3d6 21.61 ms ◑