tx · 5LXxyoMZZd3K8XBeAVhYiRVG4dvuBASV7vqXTsjNeEms

3N3Aq1GcHD8bZMGyVgyvaTHrBM7EySFtJ1H:  -0.00700000 Waves

2022.06.18 20:07 [2102090] smart account 3N3Aq1GcHD8bZMGyVgyvaTHrBM7EySFtJ1H > SELF 0.00000000 Waves

{ "type": 13, "id": "5LXxyoMZZd3K8XBeAVhYiRVG4dvuBASV7vqXTsjNeEms", "fee": 700000, "feeAssetId": null, "timestamp": 1655572086562, "version": 2, "chainId": 84, "sender": "3N3Aq1GcHD8bZMGyVgyvaTHrBM7EySFtJ1H", "senderPublicKey": "69Rez9g3wdeHPiCsmjaaaK1GBhFjL79pxMPX9Fpk8S5e", "proofs": [ "51xQhnSDfRiHpNzZBn5oK8nLZ78BVLgVsL2TiM9y3dLjEgDsVy9zScQKYbzeDB8c7JDkJ6nFJADSrnbm2X4M6j8Z" ], "script": "base64:AAIFAAAAAAAAAA8IAhIGCgQICAEBEgMKAQgAAAAUAAAAAANTRVACAAAAAl9fAAAAAAVNVUxUNgAAAAAAAA9CQAAAAAAFTVVMVDgAAAAAAAX14QAAAAAACkFOT1RFSURTVFICAAAABVdBVkVTAAAAAAdBTk9URUlECQACWQAAAAEFAAAACkFOT1RFSURTVFIBAAAADGdldEludE9yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPTWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAAMZ2V0U3RyT3JFbHNlAAAAAgAAAANrZXkAAAAKZGVmYXVsdFZhbAkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkFAAAACmRlZmF1bHRWYWwBAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWV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QxCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAEWJlbmlmaWNhcnlBZGRyZXNzBQAAAA1iZW5pZmljYXJ5QW10BQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADGFub3RlQWRkcmVzcwUAAAAMcHJvdG9jb2xBbXQxBQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAEW1hc3Rlck5vZGVBZGRyZXNzBQAAAAxwcm90b2NvbEFtdDIFAAAABHVuaXQJAARMAAAAAgkBAAAAElJld2FyZEhpc3RvcnlFbnRyeQAAAAcFAAAADG1pbmVyQWRkcmVzcwgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAUAAAAIbWluZWRBbXQFAAAADWJlbmlmaWNhcnlBbXQFAAAAC3Byb3RvY29sQW10BQAAAAxwcm90b2NvbEFtdDEFAAAADHByb3RvY29sQW10MgkABEwAAAACCQEAAAARUmV3YXJkVG90YWxzRW50cnkAAAAGBQAAAAxtaW5lckFkZHJlc3MFAAAACG1pbmVkQW10BQAAAA1iZW5pZmljYXJ5QW10BQAAAAtwcm90b2NvbEFtdAUAAAAMcHJvdG9jb2xBbXQxBQAAAAxwcm90b2NvbEFtdDIFAAAAA25pbAAAAAC24CsY", "height": 2102090, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EewFjiWNwdizpSKNbhNMtGwwVGBmABmcjCMsPTNfvcH9 Next: CrwXXfUoWCYXC7pWT61hJjAtCPERRzq3nahKWGdgaArt Diff:
OldNewDifferences
3434 func o (n) = ("%s%s__totals__" + n)
3535
3636
37-func p () = "%s%s__cfg__neutrinoAddress"
37+func p () = "%s%s__cfg__anoteAddress"
3838
3939
40-func q () = "%s%s__cfg__mainNeutrinoNodeAddress"
40+func q () = "%s%s__cfg__mainAnoteNodeAddress"
4141
4242
4343 func r () = "%s%s__cfg__protocolPartX6"
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%s__totals__" + n)
3535
3636
37-func p () = "%s%s__cfg__neutrinoAddress"
37+func p () = "%s%s__cfg__anoteAddress"
3838
3939
40-func q () = "%s%s__cfg__mainNeutrinoNodeAddress"
40+func q () = "%s%s__cfg__mainAnoteNodeAddress"
4141
4242
4343 func r () = "%s%s__cfg__protocolPartX6"
4444
4545
4646 func s () = "%s%s__cfg__benificaryPartX6"
4747
4848
4949 func t (u,v) = makeString(["%s%s%s", "history", toString(u), toBase58String(v)], a)
5050
5151
5252 func w (x,y,z,A,B) = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(x), toString(y), toString(z), toString(A), toString(B)], a)
5353
5454
5555 func C (u,v,D,y,z,E,F) = StringEntry(t(u, v), w(D, y, z, E, F))
5656
5757
5858 func G (D,y,z,A,B) = makeString(["%d%d%d%d%d", toString(D), toString(y), toString(z), toString(A), toString(B)], a)
5959
6060
6161 func H (I,D,y,z,A,B) = {
6262 let J = o(toString(I))
6363 let K = split(h(J, G(0, 0, 0, 0, 0)), a)
6464 let L = (parseIntValue(K[1]) + D)
6565 let M = (parseIntValue(K[2]) + y)
6666 let N = (parseIntValue(K[3]) + z)
6767 let O = (parseIntValue(K[4]) + A)
6868 let P = (parseIntValue(K[5]) + B)
6969 StringEntry(J, G(L, M, N, O, P))
7070 }
7171
7272
7373 @Callable(Q)
7474 func constructor (R,S,T,U) = if ((Q.caller != this))
7575 then throw("permissions denied")
7676 else if ((0 > T))
7777 then throw("protocolPartX6 less then zero")
7878 else if ((0 > U))
7979 then throw("benificaryPartX6 less then zero")
8080 else if (((T + U) != b))
8181 then throw("parts sum must be 1")
8282 else [StringEntry(p(), l(R)), StringEntry(q(), l(S)), IntegerEntry(r(), T), IntegerEntry(s(), U)]
8383
8484
8585
8686 @Callable(Q)
8787 func distributeMinerReward (V) = if ((size(Q.payments) != 1))
8888 then throw("exact 1 payment must be attached")
8989 else if ((Q.caller != Q.originCaller))
9090 then throw("dapp to dapp calls are not allowed")
9191 else {
9292 let W = Q.payments[0]
9393 let D = W.amount
9494 let X = valueOrElse(W.assetId, e)
9595 let Y = Q.fee
9696 let Z = valueOrElse(Q.feeAssetId, e)
9797 if ((X != e))
9898 then throw("only Waves can be used in payment")
9999 else if ((Z != e))
100100 then throw("only Waves can be used in fees")
101101 else if ((Y != ((5 * c) / 1000)))
102102 then throw("fee amount couldn't exceed 0.005")
103103 else {
104104 let aa = k(p())
105105 let ab = k(q())
106106 let ac = Q.caller
107107 let ad = addressFromStringValue(V)
108108 let ae = f(r())
109109 let af = f(s())
110110 let ag = (wavesBalance(ac).available - Y)
111111 if ((ag != 0))
112112 then throw((("all " + toString(ag)) + " Wavelets from the Node balance must be attached into the payment"))
113113 else {
114114 let ah = fraction(D, af, b)
115115 let z = (D - ah)
116116 let E = (z / 2)
117117 let F = (z - E)
118118 [ScriptTransfer(ad, ah, unit), ScriptTransfer(aa, E, unit), ScriptTransfer(ab, F, unit), C(ac, Q.transactionId, D, ah, z, E, F), H(ac, D, ah, z, E, F)]
119119 }
120120 }
121121 }
122122
123123

github/deemru/w8io/026f985 
52.09 ms