tx · 8mYHGgxmEL5wpqs2qinVc3WBF6mmXo19hgVbxBV3tM7W

3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA:  -0.01000000 Waves

2021.11.25 18:24 [1806744] smart account 3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA > SELF 0.00000000 Waves

{ "type": 13, "id": "8mYHGgxmEL5wpqs2qinVc3WBF6mmXo19hgVbxBV3tM7W", "fee": 1000000, "feeAssetId": null, "timestamp": 1637853888071, "version": 1, "sender": "3NBqs2vfpyT5cMdUJ97mEJ1Ycp2y8GbAZDA", "senderPublicKey": "H19CeJVbUnfsK8EYs8K6fHxwBH7pLyxw8WCDFu7D4rGQ", "proofs": [ "UcdJKwAdJExrbzvFh74xhAaWHRon65kwAmfCbtdUGwEMGYFXL6eGKoYTdmJ1t5vS8UPE1V4cYzdh8hdXm39U6g3" ], "script": "base64:AAIFAAAAAAAAABIIAhIJCgcIAQEBAQEIEgMKAQEAAAAdAAAAAANTRVACAAAAAl9fAQAAAA9nZXRTdHJpbmdPckZhaWwAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAARa2V5RmFjdG9yeUFkZHJlc3MAAAAAAgAAABwlcyVzX19jb25maWdfX2ZhY3RvcnlBZGRyZXNzAAAAABhJZHhGYWN0b3J5Q2ZnU3Rha2luZ0RhcHAAAAAAAAAAAAEAAAAAGUlkeEZhY3RvcnlDZmdCb29zdGluZ0RhcHAAAAAAAAAAAAIAAAAAFElkeEZhY3RvcnlDZmdJZG9EYXBwAAAAAAAAAAADAAAAABVJZHhGYWN0b3J5Q2ZnVGVhbURhcHAAAAAAAAAAAAQAAAAAGUlkeEZhY3RvcnlDZmdFbWl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W1pdAAAAAEAAAAGYW1vdW50BAAAAA9mYWN0b3J5Q29udHJhY3QJAQAAABhyZWFkRmFjdG9yeUFkZHJlc3NPckZhaWwAAAAABAAAAApmYWN0b3J5Q2ZnCQEAAAAUcmVhZEZhY3RvcnlDZmdPckZhaWwAAAABBQAAAA9mYWN0b3J5Q29udHJhY3QEAAAAD3N0YWtpbmdDb250cmFjdAkBAAAAF2dldFN0YWtpbmdBZGRyZXNzT3JGYWlsAAAAAQUAAAAKZmFjdG9yeUNmZwQAAAARc3Rha2luZ0FkZHJlc3NTdHIJAAQlAAAAAQUAAAAPc3Rha2luZ0NvbnRyYWN0BAAAAAljYWxsZXJTdHIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAwkBAAAAAiE9AAAAAgUAAAAJY2FsbGVyU3RyBQAAABFzdGFraW5nQWRkcmVzc1N0cgkAAAIAAAABAgAAABJwZXJtaXNzaW9ucyBkZW5pZWQEAAAADHd4QXNzZXRJZFN0cgkAAZEAAAACCQAEtQAAAAIJAQAAAA9nZXRTdHJpbmdPckZhaWwAAAACBQAAAAR0aGlzCQEAAAAJa2V5Q29uZmlnAAAAAAUAAAADU0VQAAAAAAAAAAABBAAAAAl3eEFzc2V0SWQJAAJZAAAAAQUAAAAMd3hBc3NldElkU3RyCQAFFAAAAAIJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAPc3Rha2luZ0NvbnRyYWN0BQAAAAZhbW91bnQFAAAACXd4QXNzZXRJZAUAAAADbmlsCQAETAAAAAIFAAAACXd4QXNzZXRJZAUAAAADbmlsAAAAAGqid0k=", "chainId": 84, "height": 1806744, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CiFuPrv6yPexz3Rt8e9w7S7co1pToSdEyFj584uR7D6w Next: 4TDpoGLkU9yamoMWE7Ua91TsrZpcpEpNn3QYyRbDK2GJ Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 func b (c,d) = valueOrErrorMessage(getString(c, d), (("mandatory this." + d) + " is not defined"))
77
88
99 func e () = "%s%s__config__factoryAddress"
1010
1111
1212 let f = 1
1313
1414 let g = 2
1515
1616 let h = 3
1717
1818 let i = 4
1919
2020 let j = 5
2121
2222 let k = 6
2323
2424 let l = 7
2525
2626 func m () = "%s__factoryConfig"
2727
2828
2929 func n (o) = makeString(["%s%s%s", o, "mappings__lpAsset2PoolContract"], a)
3030
3131
3232 func p () = "%s__lpTokensList"
3333
3434
3535 func q (o) = makeString(["%s%s%s", o, "mappings__lpAsset2PoolContract"], a)
3636
3737
3838 func r (s) = makeString(["%s%s", "poolWeight", s], a)
3939
4040
4141 func t () = addressFromStringValue(b(this, e()))
4242
4343
4444 func u () = split(valueOrElse(getString(t(), p()), ""), a)
4545
4646
4747 func v (w) = split(b(w, m()), a)
4848
4949
5050 func x (y) = addressFromStringValue(y[g])
5151
5252
5353 func z (y) = addressFromStringValue(y[j])
5454
5555
5656 func A (y) = addressFromStringValue(y[f])
5757
5858
5959 func B () = "%s__config"
6060
6161
6262 func C () = "%s%s__ratePerBlockMax__current"
6363
6464
6565 func D (E,F) = makeString(["%s%s%d%d__ratePerBlockMax__start", toString(E), toString(F)], a)
6666
6767
6868 func G () = "%s%s__ratePerBlock__current"
6969
7070
7171 func H (E,F) = makeString(["%s%s%d%d__ratePerBlock__start", toString(E), toString(F)], a)
7272
7373
7474 func I () = "%s%s__emission__startBlock"
7575
7676
7777 func J () = "%s%s__emission__duration"
7878
7979
8080 func K () = "%s%s__emission__endBlock"
8181
8282
8383 @Callable(L)
8484 func constructor (M,N,O,P,Q,R,S) = if ((L.caller != this))
8585 then throw("permissions denied")
8686 else [IntegerEntry(D(R, P), N), IntegerEntry(C(), N), IntegerEntry(H(R, P), O), IntegerEntry(G(), O), IntegerEntry(I(), P), IntegerEntry(J(), Q), IntegerEntry(K(), (P + Q)), StringEntry(e(), M), StringEntry(B(), ("%s__" + S))]
8787
8888
8989
9090 @Callable(L)
9191 func emit (T) = {
9292 let U = t()
9393 let y = v(U)
9494 let V = A(y)
9595 let W = toString(V)
9696 let X = toString(L.caller)
9797 if ((X != W))
9898 then throw("permissions denied")
9999 else {
100100 let S = split(b(this, B()), a)[1]
101101 let Y = fromBase58String(S)
102102 $Tuple2([ScriptTransfer(V, T, Y)], [Y])
103103 }
104104 }
105105
106106

github/deemru/w8io/026f985 
21.43 ms