tx · Gr3wQvFqWEQmDpPUeQnfFazxu5tqRDW1agfzAVU15tTc

3N1HdGqmcf4nVsUgmWiwB8p6p8ErWBmvQua:  -0.01000000 Waves

2023.11.16 02:56 [2845161] smart account 3N1HdGqmcf4nVsUgmWiwB8p6p8ErWBmvQua > SELF 0.00000000 Waves

{ "type": 13, "id": "Gr3wQvFqWEQmDpPUeQnfFazxu5tqRDW1agfzAVU15tTc", "fee": 1000000, "feeAssetId": null, "timestamp": 1700092566573, "version": 2, "chainId": 84, "sender": "3N1HdGqmcf4nVsUgmWiwB8p6p8ErWBmvQua", "senderPublicKey": "JAEVvs5E9kGyXWx3YQaivUpUP3vb3pgr2eS6UrYr1A8P", "proofs": [ "gWG9gyb81zfJqHnYzUkNZrwbf6w4CTqvFGBok5S31gQ8R5zkEz3soa3qgresdQhNiP7PeGPvP6BHKgZCuRy57vF" ], "script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAOAAAAAAtTVEFLRV9BU1NFVAEAAAAg+yz52JX9bMBBBD7WcJozZ6kHlw3R1qS6Jzk7Sn1TrCIAAAAACkVBUk5fQVNTRVQBAAAAIPss+diV/WzAQQQ+1nCaM2epB5cN0dakuic5O0p9U6wiAAAAAA1UT0tFTlNfUEVSX01TAAAAAAAAAAABAAAAAANTRVACAAAAAl9fAAAAAAtERU5PTUlOQVRPUgAN4Lazp2QAAAEAAAAQdXNlckRlcG9zaXRlZEtleQAAAAEAAAAEdXNlcgkABLkAAAACCQAETAAAAAICAAAAAnVkCQAETAAAAAIJAAJYAAAAAQgFAAAABHVzZXIAAAAFYnl0ZXMFAAAAA25pbAUAAAADU0VQAQAAAA11c2VyVXBkYXRlS2V5AAAAAQAAAAR1c2VyCQAEuQAAAAIJAARMAAAAAgIAAAACdXUJAARMAAAAAgkAAlgAAAABCAUAAAAEdXNlcgAAAAVieXRlcwUAAAADbmlsBQAAAANTRVABAAAAEXRvdGFsRGVwb3NpdGVkS2V5AAAAAAIAAAACdGQBAAAADWxhc3RVc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AJAABlAAAAAgUAAAAOdG90YWxEZXBvc2l0ZWQFAAAADXVzZXJEZXBvc2l0ZWQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAQAAAA1sYXN0VXBkYXRlS2V5AAAAAAgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAA11c2VyRGVwb3NpdGVkBQAAAAtTVEFLRV9BU1NFVAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAADGVhcm5lZFRva2VucwUAAAAKRUFSTl9BU1NFVAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAAXcmV3YXJkUGVyVG9rZW5TdG9yZWRLZXkAAAAACQABpgAAAAEJAQAAABhjYWxjUmV3YXJkUGVyVG9rZW5TdG9yZWQAAAAACQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAABl1c2VyUmV3YXJkUGVyVG9rZW5QYWlkS2V5AAAAAQgFAAAAAWkAAAAGY2FsbGVyCQABpgAAAAEJAQAAABhjYWxjUmV3YXJkUGVyVG9rZW5TdG9yZWQAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQEAAAALdXNlclJld2FyZHMAAAABCAUAAAABaQAAAAZjYWxsZXIAAAAAAAAAAAAFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5C14sAQ==", "height": 2845161, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: f3cUv2VcktjQXLUho5ooGMVXwZKHsTzPQj9nYbXg8Qk Next: Ga8ix3Wcaf4Hr4JJR7B1r4T3TtmjmwKU4yRqNorkHQGZ Diff:
OldNewDifferences
114114 }
115115 else 0
116116 }
117-[IntegerEntry(f(x.caller), (u + x.payments[0].amount)), IntegerEntry(i(), (o + x.payments[0].amount)), StringEntry(k(), toString(n())), StringEntry(l(x.caller), toString(n())), IntegerEntry(m(x.caller), if ((u == 0))
117+[IntegerEntry(f(x.caller), (u + x.payments[0].amount)), IntegerEntry(i(), (o + x.payments[0].amount)), IntegerEntry(j(), lastBlock.timestamp), StringEntry(k(), toString(n())), StringEntry(l(x.caller), toString(n())), IntegerEntry(m(x.caller), if ((u == 0))
118118 then 0
119119 else toInt(t(x.caller)))]
120120 }
142142 else 0
143143 }
144144 let y = toInt(t(x.caller))
145-[IntegerEntry(f(x.caller), 0), IntegerEntry(i(), (o - u)), ScriptTransfer(x.caller, u, a), ScriptTransfer(x.caller, y, b), StringEntry(k(), toString(n())), StringEntry(l(x.caller), toString(n())), IntegerEntry(m(x.caller), 0)]
145+[IntegerEntry(f(x.caller), 0), IntegerEntry(i(), (o - u)), IntegerEntry(j(), lastBlock.timestamp), ScriptTransfer(x.caller, u, a), ScriptTransfer(x.caller, y, b), StringEntry(k(), toString(n())), StringEntry(l(x.caller), toString(n())), IntegerEntry(m(x.caller), 0)]
146146 }
147147
148148
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'HuV7L2uJ4v2SDS5xqZLWPHhimTUgEMKstmxwfBY17SX3'
55
66 let b = base58'HuV7L2uJ4v2SDS5xqZLWPHhimTUgEMKstmxwfBY17SX3'
77
88 let c = 1
99
1010 let d = "__"
1111
1212 let e = 1000000000000000000
1313
1414 func f (g) = makeString(["ud", toBase58String(g.bytes)], d)
1515
1616
1717 func h (g) = makeString(["uu", toBase58String(g.bytes)], d)
1818
1919
2020 func i () = "td"
2121
2222
2323 func j () = "lu"
2424
2525
2626 func k () = "rpts"
2727
2828
2929 func l (g) = makeString(["urpd", toBase58String(g.bytes)], d)
3030
3131
3232 func m (g) = makeString(["ur", toBase58String(g.bytes)], d)
3333
3434
3535 func n () = {
3636 let o = toBigInt({
3737 let p = getInteger(i())
3838 if ($isInstanceOf(p, "Int"))
3939 then {
4040 let q = p
4141 q
4242 }
4343 else 0
4444 })
4545 let r = toBigInt({
4646 let p = getInteger(j())
4747 if ($isInstanceOf(p, "Int"))
4848 then {
4949 let q = p
5050 q
5151 }
5252 else lastBlock.timestamp
5353 })
5454 let s = parseBigIntValue({
5555 let p = getString(k())
5656 if ($isInstanceOf(p, "String"))
5757 then {
5858 let q = p
5959 q
6060 }
6161 else "0"
6262 })
6363 if ((o == toBigInt(0)))
6464 then s
6565 else (s + (((toBigInt(c) * (toBigInt(lastBlock.timestamp) - r)) * toBigInt(e)) / o))
6666 }
6767
6868
6969 func t (g) = {
7070 let u = toBigInt({
7171 let p = getInteger(f(g))
7272 if ($isInstanceOf(p, "Int"))
7373 then {
7474 let q = p
7575 q
7676 }
7777 else 0
7878 })
7979 let v = parseBigIntValue(getStringValue(l(g)))
8080 let w = toBigInt({
8181 let p = getInteger(m(g))
8282 if ($isInstanceOf(p, "Int"))
8383 then {
8484 let q = p
8585 q
8686 }
8787 else 0
8888 })
8989 (fraction(u, (n() - v), toBigInt(e)) + w)
9090 }
9191
9292
9393 @Callable(x)
9494 func deposit () = if (if ((size(x.payments) != 1))
9595 then true
9696 else (x.payments[0].assetId != a))
9797 then throw("incorrect asset deposits")
9898 else {
9999 let u = {
100100 let p = getInteger(f(x.caller))
101101 if ($isInstanceOf(p, "Int"))
102102 then {
103103 let q = p
104104 q
105105 }
106106 else 0
107107 }
108108 let o = {
109109 let p = getInteger(i())
110110 if ($isInstanceOf(p, "Int"))
111111 then {
112112 let q = p
113113 q
114114 }
115115 else 0
116116 }
117-[IntegerEntry(f(x.caller), (u + x.payments[0].amount)), IntegerEntry(i(), (o + x.payments[0].amount)), StringEntry(k(), toString(n())), StringEntry(l(x.caller), toString(n())), IntegerEntry(m(x.caller), if ((u == 0))
117+[IntegerEntry(f(x.caller), (u + x.payments[0].amount)), IntegerEntry(i(), (o + x.payments[0].amount)), IntegerEntry(j(), lastBlock.timestamp), StringEntry(k(), toString(n())), StringEntry(l(x.caller), toString(n())), IntegerEntry(m(x.caller), if ((u == 0))
118118 then 0
119119 else toInt(t(x.caller)))]
120120 }
121121
122122
123123
124124 @Callable(x)
125125 func withdraw () = {
126126 let u = {
127127 let p = getInteger(f(x.caller))
128128 if ($isInstanceOf(p, "Int"))
129129 then {
130130 let q = p
131131 q
132132 }
133133 else 0
134134 }
135135 let o = {
136136 let p = getInteger(i())
137137 if ($isInstanceOf(p, "Int"))
138138 then {
139139 let q = p
140140 q
141141 }
142142 else 0
143143 }
144144 let y = toInt(t(x.caller))
145-[IntegerEntry(f(x.caller), 0), IntegerEntry(i(), (o - u)), ScriptTransfer(x.caller, u, a), ScriptTransfer(x.caller, y, b), StringEntry(k(), toString(n())), StringEntry(l(x.caller), toString(n())), IntegerEntry(m(x.caller), 0)]
145+[IntegerEntry(f(x.caller), 0), IntegerEntry(i(), (o - u)), IntegerEntry(j(), lastBlock.timestamp), ScriptTransfer(x.caller, u, a), ScriptTransfer(x.caller, y, b), StringEntry(k(), toString(n())), StringEntry(l(x.caller), toString(n())), IntegerEntry(m(x.caller), 0)]
146146 }
147147
148148
149149 @Verifier(z)
150150 func A () = sigVerify(z.bodyBytes, z.proofs[0], z.senderPublicKey)
151151

github/deemru/w8io/026f985 
26.90 ms