tx · FxmZefeBNyLXoYUXSR7uDzn8bqnRf9fZtJNmEWBBB9oF 3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP: -0.05000000 Waves 2021.09.28 00:53 [1721919] smart account 3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP > SELF 0.00000000 Waves
{ "type": 13, "id": "FxmZefeBNyLXoYUXSR7uDzn8bqnRf9fZtJNmEWBBB9oF", "fee": 5000000, "feeAssetId": null, "timestamp": 1632779666068, "version": 2, "chainId": 84, "sender": "3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP", "senderPublicKey": "2uZLPvTfcSdSqd6m8q85ZpiWEmxSkGWzb5ocbziqSzCj", "proofs": [ "gJh2tfEkWtHbw4f5vRxHjE1bmePZv8pxDMaaUm6p6Fb4mEh2nGajxK3XPdwxf53EwzpJKZ8vm3466f6TpQHHhZ9" ], "script": "base64:AAIFAAAAAAAAAB4IAhIAEgMKAQgSBwoFCAQCARgSCgoICAQCARgRFBIAAAABAQAAABFrZXlBY2N1bXVsYXRlZEZlZQAAAAACAAAAEiVzX19hY2N1bXVsYXRlZEZlZQAAAAQAAAABaQEAAAAHb3JkaW5hbAAAAAAEAAAABXBhcnRBCQAAbAAAAAYAAAAAAlQL5AAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAEAAAAAAAAAAAAFAAAABERPV04EAAAABXBhcnRCCQAAbAAAAAYAAAAARdlkuAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAEAAAAAAAAAAAAFAAAABERPV04EAAAAC3BhcnRBQmlnSW50CQAAdgAAAAYJAAE2AAAAAQAAI4byb8EAAAAAAAAAAAAAAAkAATYAAAABAAAAAAAAAAAFAAAAAAAAAAABAAAAAAAAAAAABQAAAARET1dOBAAAAAtwYXJ0QkJpZ0ludAkAAHYAAAAGCQABNgAAAAEABCnQaRieAAAAAAAAAAAAAAAJAAE2AAAAAQAAAAAAAAAABQAAAAAAAAAAAQAAAAAAAAAAAAU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eQAAAAICAAAADWxpc3RJbnRQYXJhbTIJAAGRAAAAAgUAAAAHYXJnc0ludAAAAAAAAAAAAQkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgIAAAAObGlzdEJvb2xQYXJhbTEJAAGRAAAAAgUAAAAIYXJnc0Jvb2wAAAAAAAAAAAAJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAICAAAADmxpc3RCb29sUGFyYW0yCQABkQAAAAIFAAAACGFyZ3NCb29sAAAAAAAAAAABCQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAEGxpc3RCaW5hcnlQYXJhbTMJAAGRAAAAAgUAAAAKYXJnc0JpbmFyeQAAAAAAAAAAAAkABEwAAAACCQEAAAALQmluYXJ5RW50cnkAAAACAgAAABBsaXN0QmluYXJ5UGFyYW0zCQABkQAAAAIFAAAACmFyZ3NCaW5hcnkAAAAAAAAAAAEFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5xWf6HA==", "height": 1721919, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9emsfUh27naRtrYYvZ34XcAk96GGkqw1VWMKmgkQMvu6 Next: BXkEW2iZU9f9wF3rFGDbU97jYBtDjAQMCkcv16XRJHsz Diff:
Old | New | Differences | |
---|---|---|---|
9 | 9 | let partA = pow(10000000000, 0, 5, 1, 0, DOWN) | |
10 | 10 | let partB = pow(300000000000, 0, 5, 1, 0, DOWN) | |
11 | 11 | let partABigInt = pow(toBigInt(10000000000000000), 0, toBigInt(5), 1, 0, DOWN) | |
12 | - | let partBBigInt = pow(toBigInt( | |
12 | + | let partBBigInt = pow(toBigInt(300000000000000000), 0, toBigInt(5), 1, 0, DOWN) | |
13 | 13 | let res2 = (partABigInt * partBBigInt) | |
14 | 14 | let result2 = (res2 / toBigInt(1000000)) | |
15 | 15 | [IntegerEntry("ordinal", (partA * partB)), IntegerEntry("bigInt", toInt(result2))] |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func keyAccumulatedFee () = "%s__accumulatedFee" | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | @Callable(i) | |
8 | 8 | func ordinal () = { | |
9 | 9 | let partA = pow(10000000000, 0, 5, 1, 0, DOWN) | |
10 | 10 | let partB = pow(300000000000, 0, 5, 1, 0, DOWN) | |
11 | 11 | let partABigInt = pow(toBigInt(10000000000000000), 0, toBigInt(5), 1, 0, DOWN) | |
12 | - | let partBBigInt = pow(toBigInt( | |
12 | + | let partBBigInt = pow(toBigInt(300000000000000000), 0, toBigInt(5), 1, 0, DOWN) | |
13 | 13 | let res2 = (partABigInt * partBBigInt) | |
14 | 14 | let result2 = (res2 / toBigInt(1000000)) | |
15 | 15 | [IntegerEntry("ordinal", (partA * partB)), IntegerEntry("bigInt", toInt(result2))] | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | ||
20 | 20 | @Callable(i) | |
21 | 21 | func callMeDapp (stringParam1) = { | |
22 | 22 | let caller = i.caller | |
23 | 23 | [StringEntry("stringParam1", stringParam1), BooleanEntry("boolParam2", false)] | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | ||
28 | 28 | @Callable(i) | |
29 | 29 | func callMe (stringParam1,boolParam2,binaryParam3,intParam4,argsStr) = { | |
30 | 30 | let caller = i.caller | |
31 | 31 | [StringEntry("stringParam1", stringParam1), BooleanEntry("boolParam2", boolParam2), BinaryEntry("binaryParam3", binaryParam3), IntegerEntry("intParam4", intParam4), StringEntry("listStringParam1", argsStr[0]), StringEntry("listStringParam2", argsStr[1])] | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | ||
36 | 36 | @Callable(i) | |
37 | 37 | func callMe2 (stringParam1,boolParam2,binaryParam3,intParam4,argsStr,argsInt,argsBool,argsBinary) = { | |
38 | 38 | let caller = i.caller | |
39 | 39 | [StringEntry("stringParam1", stringParam1), BooleanEntry("boolParam2", boolParam2), BinaryEntry("binaryParam3", binaryParam3), IntegerEntry("intParam4", intParam4), StringEntry("listStringParam1", argsStr[0]), StringEntry("listStringParam2", argsStr[1]), IntegerEntry("listIntParam1", argsInt[0]), IntegerEntry("listIntParam2", argsInt[1]), BooleanEntry("listBoolParam1", argsBool[0]), BooleanEntry("listBoolParam2", argsBool[1]), BinaryEntry("listBinaryParam3", argsBinary[0]), BinaryEntry("listBinaryParam3", argsBinary[1])] | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | @Verifier(tx) | |
44 | 44 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
45 | 45 |
github/deemru/w8io/169f3d6 24.90 ms ◑