tx · GLJwMEQtYLsybwcsaNaxtgqzvX5JQGpW9zUUieQnNpt9

3MsU936briqQ2XZMpkhWdrV8EsNwm5iCuRY:  -0.01000000 Waves

2022.05.25 14:35 [2067162] smart account 3MsU936briqQ2XZMpkhWdrV8EsNwm5iCuRY > SELF 0.00000000 Waves

{ "type": 13, "id": "GLJwMEQtYLsybwcsaNaxtgqzvX5JQGpW9zUUieQnNpt9", "fee": 1000000, "feeAssetId": null, "timestamp": 1653478565954, "version": 2, "chainId": 84, "sender": "3MsU936briqQ2XZMpkhWdrV8EsNwm5iCuRY", "senderPublicKey": "F471QhzucRgQCSkZK5opBNc55AoNgiibCabvTp6GZ9nq", "proofs": [ "32RJdUenJG7ZSgDxd7JUCsXrrDjAa6nmqYQsnwfMnFdwbpyduuWqNJd1T5QXmDhja6m9WAzVWbuHohdZne9xdhRi" ], "script": "base64:AAIFAAAAAAAAABIIAhIHCgUBCAgBARIAEgMKAQgAAAAXAAAAAANTRVACAAAAAl9fAAAAAAVNVUxUNgAAAAAAAA9CQAAAAAAFTVVMVDgAAAAAAAX14QAAAAAACldBVkVTSURTVFICAAAABVdBVkVTAAAAAAdXQVZFU0lECQACWQAAAAEFAAAACldBVkVTSURTVFIBAAAADGdldEludE9yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPTWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAAMZ2V0U3RyT3JFbHNlAAAAAgAAAANrZXkAAAAKZGVmYXVsdFZhbAkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkFAAAACmRlZmF1bHRWYWwBAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAA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jb2xBbXQFAAAADHByb3RvY29sQW10MQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAABFiZW5pZmljYXJ5QWRkcmVzcwUAAAANYmVuaWZpY2FyeUFtdAUAAAAEdW5pdAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAA9uZXV0cmlub0FkZHJlc3MFAAAADHByb3RvY29sQW10MQUAAAAEdW5pdAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAABFtYXN0ZXJOb2RlQWRkcmVzcwUAAAAMcHJvdG9jb2xBbXQyBQAAAAR1bml0CQAETAAAAAIJAQAAABJSZXdhcmRIaXN0b3J5RW50cnkAAAAHBQAAAAxtaW5lckFkZHJlc3MIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQFAAAACG1pbmVkQW10BQAAAA1iZW5pZmljYXJ5QW10BQAAAAtwcm90b2NvbEFtdAUAAAAMcHJvdG9jb2xBbXQxBQAAAAxwcm90b2NvbEFtdDIJAARMAAAAAgkBAAAAEVJld2FyZFRvdGFsc0VudHJ5AAAABgUAAAAMbWluZXJBZGRyZXNzBQAAAAhtaW5lZEFtdAUAAAANYmVuaWZpY2FyeUFtdAUAAAALcHJvdG9jb2xBbXQFAAAADHByb3RvY29sQW10MQUAAAAMcHJvdG9jb2xBbXQyBQAAAANuaWwAAAAAmS7UuQ==", "height": 2067162, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8HEUHLdyWmh78AZAK5PJcPPHiSp2VghmgBJiuK31nvYy Next: 5u33sBQit41a3J4AdmDWbaQYVMXhKfwcna7HXMPt8Amr Diff:
OldNewDifferences
127127 let ab = W.payments[0]
128128 let J = ab.amount
129129 let ad = valueOrElse(ab.assetId, e)
130+ let ah = W.fee
131+ let ai = valueOrElse(W.feeAssetId, e)
130132 if ((ad != e))
131- then throw("only Waves can be used")
132- else {
133- let ah = k(r())
134- let ai = k(s())
135- let aj = W.caller
136- let ak = addressFromStringValue(ag)
137- let al = f(t())
138- let am = f(u())
139- let an = (wavesBalance(aj).available - W.fee)
140- if ((an != 0))
141- then throw((("all " + toString(an)) + " Wavelets from the Node balance must be attached into the payment"))
133+ then throw("only Waves can be used in payment")
134+ else if ((ai != e))
135+ then throw("only Waves can be used in fees")
136+ else if ((ah != ((5 * c) / 100)))
137+ then throw("fee amount couldn't exceed 0.005")
142138 else {
143- let ao = fraction(J, am, b)
144- let F = (J - ao)
145- let K = (F / 2)
146- let L = (F - K)
147-[ScriptTransfer(ak, ao, unit), ScriptTransfer(ah, K, unit), ScriptTransfer(ai, L, unit), I(aj, W.transactionId, J, ao, F, K, L), N(aj, J, ao, F, K, L)]
139+ let aj = k(r())
140+ let ak = k(s())
141+ let al = W.caller
142+ let am = addressFromStringValue(ag)
143+ let an = f(t())
144+ let ao = f(u())
145+ let ap = (wavesBalance(al).available - ah)
146+ if ((ap != 0))
147+ then throw((("all " + toString(ap)) + " Wavelets from the Node balance must be attached into the payment"))
148+ else {
149+ let aq = fraction(J, ao, b)
150+ let F = (J - aq)
151+ let K = (F / 2)
152+ let L = (F - K)
153+[ScriptTransfer(am, aq, unit), ScriptTransfer(aj, K, unit), ScriptTransfer(ak, L, unit), I(al, W.transactionId, J, aq, F, K, L), N(al, J, aq, F, K, L)]
154+ }
148155 }
149- }
150156 }
151157
152158
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = 1000000
77
88 let c = 100000000
99
1010 let d = "WAVES"
1111
1212 let e = fromBase58String(d)
1313
1414 func f (g) = valueOrErrorMessage(getInteger(this, g), (("Mandatory this." + g) + " is not defined"))
1515
1616
1717 func h (g,i) = valueOrElse(getString(this, g), i)
1818
1919
2020 func j (g) = valueOrErrorMessage(getString(this, g), (("Mandatory this." + g) + " is not defined"))
2121
2222
2323 func k (g) = valueOrErrorMessage(addressFromString(j(g)), (("Fail to convert this." + g) + " value into Address"))
2424
2525
2626 func l (m) = {
2727 let n = valueOrErrorMessage(addressFromString(m), ("fail to convert into address " + m))
2828 if ((0 > wavesBalance(n).available))
2929 then throw()
3030 else m
3131 }
3232
3333
3434 func o (n) = ("%s__" + n)
3535
3636
3737 func p (n) = ("%s%s__totals__" + n)
3838
3939
4040 func q () = "%s%s__cfg__depositAmount"
4141
4242
4343 func r () = "%s%s__cfg__neutrinoAddress"
4444
4545
4646 func s () = "%s%s__cfg__mainNeutrinoNodeAddress"
4747
4848
4949 func t () = "%s%s__cfg__protocolPartX6"
5050
5151
5252 func u () = "%s%s__cfg__benificaryPartX6"
5353
5454
5555 func v (w,x,y) = makeString(["%s%d%d%d%d", w, toString(lastBlock.height), toString(lastBlock.timestamp), toString(x), toString(y)], a)
5656
5757
5858 func z (A,B) = makeString(["%s%s%s", "history", toString(A), toBase58String(B)], a)
5959
6060
6161 func C (D,E,F,G,H) = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(D), toString(E), toString(F), toString(G), toString(H)], a)
6262
6363
6464 func I (A,B,J,E,F,K,L) = StringEntry(z(A, B), C(J, E, F, K, L))
6565
6666
6767 func M (J,E,F,G,H) = makeString(["%d%d%d%d%d", toString(J), toString(E), toString(F), toString(G), toString(H)], a)
6868
6969
7070 func N (O,J,E,F,G,H) = {
7171 let P = p(toString(O))
7272 let Q = split(h(P, M(0, 0, 0, 0, 0)), a)
7373 let R = (parseIntValue(Q[1]) + J)
7474 let S = (parseIntValue(Q[2]) + E)
7575 let T = (parseIntValue(Q[3]) + F)
7676 let U = (parseIntValue(Q[4]) + G)
7777 let V = (parseIntValue(Q[5]) + H)
7878 StringEntry(P, M(R, S, T, U, V))
7979 }
8080
8181
8282 @Callable(W)
8383 func constructor (x,X,Y,Z,aa) = if ((W.caller != this))
8484 then throw("permissions denied")
8585 else if ((0 > x))
8686 then throw("depositAmount less then zero")
8787 else if ((0 > Z))
8888 then throw("protocolPartX6 less then zero")
8989 else if ((0 > aa))
9090 then throw("benificaryPartX6 less then zero")
9191 else if (((Z + aa) != b))
9292 then throw("parts sum must be 1")
9393 else [IntegerEntry(q(), x), StringEntry(r(), l(X)), StringEntry(s(), l(Y)), IntegerEntry(t(), Z), IntegerEntry(u(), aa)]
9494
9595
9696
9797 @Callable(W)
9898 func sumbitNewMiner () = if ((size(W.payments) != 1))
9999 then throw("exact 1 payment must be attached")
100100 else if ((W.caller != W.originCaller))
101101 then throw("dapp to dapp calls are not allowed")
102102 else {
103103 let ab = W.payments[0]
104104 let ac = ab.amount
105105 let ad = valueOrElse(ab.assetId, e)
106106 let ae = f(q())
107107 let B = toBase58String(W.transactionId)
108108 let A = toString(W.caller)
109109 let af = o(A)
110110 if ((ad != e))
111111 then throw("only Waves can be used for deposit")
112112 else if ((ac != ae))
113113 then throw((("exactly " + toString(ae)) + " Wavelets are expected"))
114114 else if ((h(af, "") != ""))
115115 then throw("your node already registered")
116116 else [StringEntry(af, v(B, ac, ac))]
117117 }
118118
119119
120120
121121 @Callable(W)
122122 func distibuteMinerReward (ag) = if ((size(W.payments) != 1))
123123 then throw("exact 1 payment must be attached")
124124 else if ((W.caller != W.originCaller))
125125 then throw("dapp to dapp calls are not allowed")
126126 else {
127127 let ab = W.payments[0]
128128 let J = ab.amount
129129 let ad = valueOrElse(ab.assetId, e)
130+ let ah = W.fee
131+ let ai = valueOrElse(W.feeAssetId, e)
130132 if ((ad != e))
131- then throw("only Waves can be used")
132- else {
133- let ah = k(r())
134- let ai = k(s())
135- let aj = W.caller
136- let ak = addressFromStringValue(ag)
137- let al = f(t())
138- let am = f(u())
139- let an = (wavesBalance(aj).available - W.fee)
140- if ((an != 0))
141- then throw((("all " + toString(an)) + " Wavelets from the Node balance must be attached into the payment"))
133+ then throw("only Waves can be used in payment")
134+ else if ((ai != e))
135+ then throw("only Waves can be used in fees")
136+ else if ((ah != ((5 * c) / 100)))
137+ then throw("fee amount couldn't exceed 0.005")
142138 else {
143- let ao = fraction(J, am, b)
144- let F = (J - ao)
145- let K = (F / 2)
146- let L = (F - K)
147-[ScriptTransfer(ak, ao, unit), ScriptTransfer(ah, K, unit), ScriptTransfer(ai, L, unit), I(aj, W.transactionId, J, ao, F, K, L), N(aj, J, ao, F, K, L)]
139+ let aj = k(r())
140+ let ak = k(s())
141+ let al = W.caller
142+ let am = addressFromStringValue(ag)
143+ let an = f(t())
144+ let ao = f(u())
145+ let ap = (wavesBalance(al).available - ah)
146+ if ((ap != 0))
147+ then throw((("all " + toString(ap)) + " Wavelets from the Node balance must be attached into the payment"))
148+ else {
149+ let aq = fraction(J, ao, b)
150+ let F = (J - aq)
151+ let K = (F / 2)
152+ let L = (F - K)
153+[ScriptTransfer(am, aq, unit), ScriptTransfer(aj, K, unit), ScriptTransfer(ak, L, unit), I(al, W.transactionId, J, aq, F, K, L), N(al, J, aq, F, K, L)]
154+ }
148155 }
149- }
150156 }
151157
152158

github/deemru/w8io/169f3d6 
32.42 ms