tx · 2cEZpQiYAQMWBBGi6i2e9LBG53y4HGQcxS8RwxWKF9cU

3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat:  -0.00100000 Waves

2023.04.27 17:37 [2553099] smart account 3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat > SELF 0.00000000 Waves

{ "type": 13, "id": "2cEZpQiYAQMWBBGi6i2e9LBG53y4HGQcxS8RwxWKF9cU", "fee": 100000, "feeAssetId": null, "timestamp": 1682606259937, "version": 2, "chainId": 84, "sender": "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat", "senderPublicKey": "AwWYbCDs6GDxAT6diG2mfEqD7tFz9JXu9k234FS135kR", "proofs": [ "2NkjqR44V69yMN9ELGwGburB7MFtJa5GX6bb2DnhMCLy1wHHTvAhwV87xEb1hPUTRoTgmqNRfgtUSmrh2Zk7Y4qY" ], "script": "base64:BgIECAISAAABAWkBBHRlc3QABAZTY2FsZTgAgMLXLwQIQW1vdW50SW4AwJLWBAQJQmFsYW5jZUluAI3in6ABBApCYWxhbmNlT3V0AJSs0NZMBAl3ZWlnaHRfaW4AyAEECndlaWdodF9vdXQApCYEAWEJAG4EBQpCYWxhbmNlT3V0CQBlAgkAaAIFBlNjYWxlOAUGU2NhbGU4CQCgAwEJAHYGCQC9AgQJALYCAQUJQmFsYW5jZUluCQC2AgEJAGgCBQZTY2FsZTgFBlNjYWxlOAkAtgIBCQBkAgUJQmFsYW5jZUluBQhBbW91bnRJbgUGSEFMRlVQABAJALYCAQkAawMFCXdlaWdodF9pbgCQTgUKd2VpZ2h0X291dAAEABAFB0NFSUxJTkcJAGgCBQZTY2FsZTgFBlNjYWxlOAUERE9XTgkAAgEJAKQDAQUBYQDwyGEC", "height": 2553099, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EBPuhDnMYRgC3sMxtZVVTpTGULtQSf3wVPDXx7BUqtYR Next: DULhEepqHPeDVuZk5Wsy1PbcB9FjpbiKLZhztYG9BkVE Diff:
OldNewDifferences
66 @Callable(i)
77 func test () = {
88 let Scale8 = 100000000
9- let AmountIn = 10000000
9+ let AmountIn = 9800000
1010 let BalanceIn = 336064781
1111 let BalanceOut = 20582766100
1212 let weight_in = 200
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func test () = {
88 let Scale8 = 100000000
9- let AmountIn = 10000000
9+ let AmountIn = 9800000
1010 let BalanceIn = 336064781
1111 let BalanceOut = 20582766100
1212 let weight_in = 200
1313 let weight_out = 4900
1414 let a = fraction(BalanceOut, ((Scale8 * Scale8) - toInt(pow(fraction(toBigInt(BalanceIn), toBigInt((Scale8 * Scale8)), toBigInt((BalanceIn + AmountIn)), HALFUP), 16, toBigInt(fraction(weight_in, 10000, weight_out)), 4, 16, CEILING))), (Scale8 * Scale8), DOWN)
1515 throw(toString(a))
1616 }
1717
1818

github/deemru/w8io/169f3d6 
24.71 ms