tx · Du6JpR7vpKTcQhTBhSDeTaXkJHm2Mv84oGWjQcsrcjsS

3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP:  -0.05000000 Waves

2021.09.28 01:01 [1721929] smart account 3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP > SELF 0.00000000 Waves

{ "type": 13, "id": "Du6JpR7vpKTcQhTBhSDeTaXkJHm2Mv84oGWjQcsrcjsS", "fee": 5000000, "feeAssetId": null, "timestamp": 1632780167572, "version": 2, "chainId": 84, "sender": "3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP", "senderPublicKey": "2uZLPvTfcSdSqd6m8q85ZpiWEmxSkGWzb5ocbziqSzCj", "proofs": [ "65QT74n9KVWbDCkFcY4ZutqcMXviZnevPoX3KkdxKV71wdQsLRUBiQw26rVUGw35rqe6AYMPj7p7a7P2XJvu218f" ], "script": "base64:AAIFAAAAAAAAAB4IAhIAEgMKAQgSBwoFCAQCARgSCgoICAQCARgRFBIAAAABAQAAABFrZXlBY2N1bXVsYXRlZEZlZQAAAAACAAAAEiVzX19hY2N1bXVsYXRlZEZlZQAAAAQAAAABaQEAAAAHb3JkaW5hbAAAAAAEAAAABXBhcnRBCQAAdgAAAAYJAAE2AAAAAQAAAAAAO5rKAAAAAAAAAAAAAAkAATYAAAABAAAAAAAAAAAFAAAAAAAAAAABAAAAAAAAAAAABQAAAARET1dOBAAAAAVwYXJ0QgkAAHYAAAAGCQABNgAAAAEAAAAABvwjrAAAAAAAAAAAAAAJAAE2AAAAAQAAAAAAAAAABQAAAAAAAAAAAQAAAAAAAAAAAAUAAAAERE9XTgQAAAAGcmVzdWx0CQABOQAAAAIFAAAABXBhcnRBBQAAAAVwYXJ0QgQAAAALcGFydEFCaWdJbnQJAAB2AAAABgkAATYAAAABAAFjRXhdigAAAAAAAAAAAAAACQABNgAAAAEAAAAAAAAAAAUAAAAAAAAAAAEAAAAAAAAAAAAFAAAABERPV04EAAAAC3BhcnRCQmlnSW50CQAAd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hbTEJAAGRAAAAAgUAAAAHYXJnc0ludAAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAANbGlzdEludFBhcmFtMgkAAZEAAAACBQAAAAdhcmdzSW50AAAAAAAAAAABCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAA5saXN0Qm9vbFBhcmFtMQkAAZEAAAACBQAAAAhhcmdzQm9vbAAAAAAAAAAAAAkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgIAAAAObGlzdEJvb2xQYXJhbTIJAAGRAAAAAgUAAAAIYXJnc0Jvb2wAAAAAAAAAAAEJAARMAAAAAgkBAAAAC0JpbmFyeUVudHJ5AAAAAgIAAAAQbGlzdEJpbmFyeVBhcmFtMwkAAZEAAAACBQAAAAphcmdzQmluYXJ5AAAAAAAAAAAACQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAEGxpc3RCaW5hcnlQYXJhbTMJAAGRAAAAAgUAAAAKYXJnc0JpbmFyeQAAAAAAAAAAAQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkOhFtt", "height": 1721929, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 61ELNqukukBWaTzBjNscpn7KP72VZTWUV8ZpDAbCcd5G Next: GZEjeJwgszDe4pCv5UL6qi6aZb6gYSknPMrhqtPAQTzs Diff:
OldNewDifferences
66
77 @Callable(i)
88 func ordinal () = {
9- let partA = pow(1000000000, 0, 5, 1, 0, DOWN)
10- let partB = pow(30000000000, 0, 5, 1, 0, DOWN)
9+ let partA = pow(toBigInt(1000000000), 0, toBigInt(5), 1, 0, DOWN)
10+ let partB = pow(toBigInt(30000000000), 0, toBigInt(5), 1, 0, DOWN)
11+ let result = (partA * partB)
1112 let partABigInt = pow(toBigInt(100000000000000000), 0, toBigInt(5), 1, 0, DOWN)
1213 let partBBigInt = pow(toBigInt(3000000000000000000), 0, toBigInt(5), 1, 0, DOWN)
1314 let res2 = (partABigInt * partBBigInt)
1415 let result2 = (res2 / toBigInt(100000000))
15-[IntegerEntry("ordinal", (partA * partB)), IntegerEntry("bigInt", toInt(result2))]
16+[IntegerEntry("ordinal", toInt(result)), IntegerEntry("bigInt", toInt(result2))]
1617 }
1718
1819
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func keyAccumulatedFee () = "%s__accumulatedFee"
55
66
77 @Callable(i)
88 func ordinal () = {
9- let partA = pow(1000000000, 0, 5, 1, 0, DOWN)
10- let partB = pow(30000000000, 0, 5, 1, 0, DOWN)
9+ let partA = pow(toBigInt(1000000000), 0, toBigInt(5), 1, 0, DOWN)
10+ let partB = pow(toBigInt(30000000000), 0, toBigInt(5), 1, 0, DOWN)
11+ let result = (partA * partB)
1112 let partABigInt = pow(toBigInt(100000000000000000), 0, toBigInt(5), 1, 0, DOWN)
1213 let partBBigInt = pow(toBigInt(3000000000000000000), 0, toBigInt(5), 1, 0, DOWN)
1314 let res2 = (partABigInt * partBBigInt)
1415 let result2 = (res2 / toBigInt(100000000))
15-[IntegerEntry("ordinal", (partA * partB)), IntegerEntry("bigInt", toInt(result2))]
16+[IntegerEntry("ordinal", toInt(result)), IntegerEntry("bigInt", toInt(result2))]
1617 }
1718
1819
1920
2021 @Callable(i)
2122 func callMeDapp (stringParam1) = {
2223 let caller = i.caller
2324 [StringEntry("stringParam1", stringParam1), BooleanEntry("boolParam2", false)]
2425 }
2526
2627
2728
2829 @Callable(i)
2930 func callMe (stringParam1,boolParam2,binaryParam3,intParam4,argsStr) = {
3031 let caller = i.caller
3132 [StringEntry("stringParam1", stringParam1), BooleanEntry("boolParam2", boolParam2), BinaryEntry("binaryParam3", binaryParam3), IntegerEntry("intParam4", intParam4), StringEntry("listStringParam1", argsStr[0]), StringEntry("listStringParam2", argsStr[1])]
3233 }
3334
3435
3536
3637 @Callable(i)
3738 func callMe2 (stringParam1,boolParam2,binaryParam3,intParam4,argsStr,argsInt,argsBool,argsBinary) = {
3839 let caller = i.caller
3940 [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])]
4041 }
4142
4243
4344 @Verifier(tx)
4445 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
4546

github/deemru/w8io/169f3d6 
28.28 ms