tx · 4mQgv8gFZ6322cVh4C4QX1U7CPaf6irztSsMxkFHQPkd
3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had: -0.14000000 Waves
2022.12.06 12:16 [2348292] smart account 3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had > SELF 0.00000000 Waves
{
"type": 13,
"id": "4mQgv8gFZ6322cVh4C4QX1U7CPaf6irztSsMxkFHQPkd",
"fee": 14000000,
"feeAssetId": null,
"timestamp": 1670318162397,
"version": 2,
"chainId": 84,
"sender": "3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had",
"senderPublicKey": "EAmZF2D2BbfoPsrMGFAs2UCv8ScAXxhAZRzFpkveca8G",
"proofs": [
"Qj7eyY5As6HkHQyG8dBBUkEFMg3Ntkas7VwdBpLx5PS2FFNBsNKijZFxLs6CBbZYFmoNTie59csReENB84tFjtG",
"4SNReuPgjp6m6TskUMXSzNfUcWhTGa1sZ1NUBJvS2Kj9cmDM4FYFPFr481BE2TNZuTPx3Bq9sDY8BLJDaZRX3XU8"
],
"script": "base64:BgICCAITAAZvcmFjbGUJAQdBZGRyZXNzAQEaAVRIE5cMwNMzzCUygLYp96dkaICr48x7S5kBE2dldEJhc2U1OEZyb21PcmFjbGUBA2tleQQHJG1hdGNoMAkAnQgCBQZvcmFjbGUFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBnN0cmluZwUHJG1hdGNoMAkA2QQBBQZzdHJpbmcEB25vdGhpbmcFByRtYXRjaDAJAAIBCQCsAgIFA2tleQIIaXMgZW1wdHkADWtBZG1pblB1YktleTECC2FkbWluX3B1Yl8xAA1rQWRtaW5QdWJLZXkyAgthZG1pbl9wdWJfMgANa0FkbWluUHViS2V5MwILYWRtaW5fcHViXzMAEmtBZG1pbkludm9rZVB1YktleQIQYWRtaW5faW52b2tlX3B1YgALa0dvdkFkZHJlc3MCEmdvdmVybmFuY2VfYWRkcmVzcwAMa0Zhcm1BZGRyZXNzAg9mYXJtaW5nX2FkZHJ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gFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFC2FkbWluSW52b2tlAwMDAwMDBQ5pc0V4Y2hhbmdlQ2FsbAYFEmlzRXhjaGFuZ2VDYWxsQ1BNTQYFDWlzQWlyZHJvcENhbGwGBQ1pc1JvdXRpbmdDYWxsCQAAAgkAkAMBCAUDaW52CHBheW1lbnRzAAEHBgMDAwMFE2lzVXBkYXRlV2VpZ2h0c0NhbGwGBRJpc1Rha2VuSW50b0FjY291bnQGBRZpc1Rha2VuSW50b0FjY291bnRDUE1NBgUMaXNXcml0ZVRvdGFsCQAAAgkAkAMBCAUDaW52CHBheW1lbnRzAAAHBQ1zaWduZWRCeUFkbWluBwQSYWRtaW5QdWJLZXkxU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkxAAEAAAQSYWRtaW5QdWJLZXkyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUMYWRtaW5QdWJLZXkyAAEAAAQSYWRtaW5QdWJLZXkzU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUMYWRtaW5QdWJLZXkzAAEAAAkAZwIJAGQCCQBkAgUSYWRtaW5QdWJLZXkxU2lnbmVkBRJhZG1pblB1YktleTJTaWduZWQFEmFkbWluUHViS2V5M1NpZ25lZAAC/nBvoQ==",
"height": 2348292,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BkSbowoKDG625JsvrEkE8g9ZnPMwNWSDjN59dTTsjP6w
Next: 8z1mRHTvsEt2AzVUG8QDkdwCAdXGiZEaDJVzURqWkxV1
Diff:
Old | New | | Differences |
---|
31 | 31 | | |
---|
32 | 32 | | let m = "surveys_address" |
---|
33 | 33 | | |
---|
34 | | - | let n = b(g) |
---|
| 34 | + | let n = "routing_address" |
---|
35 | 35 | | |
---|
36 | | - | let o = b(h) |
---|
| 36 | + | let o = b(g) |
---|
37 | 37 | | |
---|
38 | | - | let p = b(i) |
---|
| 38 | + | let p = b(h) |
---|
39 | 39 | | |
---|
40 | | - | let q = b(j) |
---|
| 40 | + | let q = b(i) |
---|
41 | 41 | | |
---|
42 | | - | let r = Address(b(k)) |
---|
| 42 | + | let r = b(j) |
---|
43 | 43 | | |
---|
44 | | - | let s = Address(b(l)) |
---|
| 44 | + | let s = Address(b(k)) |
---|
45 | 45 | | |
---|
46 | | - | let t = Address(b(m)) |
---|
| 46 | + | let t = Address(b(l)) |
---|
47 | 47 | | |
---|
48 | | - | let u = "pool_" |
---|
| 48 | + | let u = Address(b(m)) |
---|
| 49 | + | |
---|
| 50 | + | let v = Address(b(n)) |
---|
| 51 | + | |
---|
| 52 | + | let w = "pool_" |
---|
49 | 53 | | |
---|
50 | 54 | | |
---|
51 | | - | @Verifier(v) |
---|
52 | | - | func w () = { |
---|
53 | | - | let d = v |
---|
| 55 | + | @Verifier(x) |
---|
| 56 | + | func y () = { |
---|
| 57 | + | let d = x |
---|
54 | 58 | | if ($isInstanceOf(d, "InvokeScriptTransaction")) |
---|
55 | 59 | | then { |
---|
56 | | - | let x = d |
---|
57 | | - | let y = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp)))))) |
---|
58 | | - | then (x.function == "callFunction") |
---|
| 60 | + | let z = d |
---|
| 61 | + | let A = if ((z.dApp == v)) |
---|
| 62 | + | then (z.function == "routingTrade") |
---|
| 63 | + | else false |
---|
| 64 | + | let B = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 65 | + | then (z.function == "callFunction") |
---|
59 | 66 | | else false) |
---|
60 | | - | then (x.args[0] == "exchange") |
---|
| 67 | + | then (z.args[0] == "exchange") |
---|
61 | 68 | | else false |
---|
62 | | - | let z = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp)))))) |
---|
63 | | - | then (x.function == "exchange") |
---|
| 69 | + | let C = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 70 | + | then (z.function == "exchange") |
---|
64 | 71 | | else false |
---|
65 | | - | let A = if ((x.dApp == r)) |
---|
66 | | - | then (x.function == "airDrop") |
---|
| 72 | + | let D = if ((z.dApp == s)) |
---|
| 73 | + | then (z.function == "airDrop") |
---|
67 | 74 | | else false |
---|
68 | | - | let B = if ((x.dApp == r)) |
---|
69 | | - | then (x.function == "updateWeights") |
---|
| 75 | + | let E = if ((z.dApp == s)) |
---|
| 76 | + | then (z.function == "updateWeights") |
---|
70 | 77 | | else false |
---|
71 | | - | let C = if ((x.dApp == s)) |
---|
72 | | - | then (x.function == "updatePoolInterest") |
---|
| 78 | + | let F = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 79 | + | then (z.function == "callFunction") |
---|
| 80 | + | else false) |
---|
| 81 | + | then (z.args[0] == "takeIntoAccountExtraFunds") |
---|
73 | 82 | | else false |
---|
74 | | - | let D = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp)))))) |
---|
75 | | - | then (x.function == "callFunction") |
---|
76 | | - | else false) |
---|
77 | | - | then (x.args[0] == "takeIntoAccountExtraFunds") |
---|
| 83 | + | let G = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 84 | + | then (z.function == "takeIntoAccountExtraFunds") |
---|
78 | 85 | | else false |
---|
79 | | - | let E = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp)))))) |
---|
80 | | - | then (x.function == "takeIntoAccountExtraFunds") |
---|
| 86 | + | let H = if ((z.dApp == u)) |
---|
| 87 | + | then (z.function == "writeTotals") |
---|
81 | 88 | | else false |
---|
82 | | - | let F = if ((x.dApp == t)) |
---|
83 | | - | then (x.function == "writeTotals") |
---|
84 | | - | else false |
---|
85 | | - | let G = sigVerify(v.bodyBytes, v.proofs[0], q) |
---|
86 | | - | if (if (if (if (if (z) |
---|
| 89 | + | let I = sigVerify(x.bodyBytes, x.proofs[0], r) |
---|
| 90 | + | if (if (if (if (if (if (C) |
---|
87 | 91 | | then true |
---|
88 | | - | else y) |
---|
| 92 | + | else B) |
---|
| 93 | + | then true |
---|
| 94 | + | else D) |
---|
89 | 95 | | then true |
---|
90 | 96 | | else A) |
---|
91 | | - | then (size(x.payments) == 1) |
---|
| 97 | + | then (size(z.payments) == 1) |
---|
92 | 98 | | else false) |
---|
93 | 99 | | then true |
---|
94 | | - | else if (if (if (if (if (B) |
---|
| 100 | + | else if (if (if (if (E) |
---|
95 | 101 | | then true |
---|
96 | | - | else C) |
---|
97 | | - | then true |
---|
98 | | - | else E) |
---|
99 | | - | then true |
---|
100 | | - | else D) |
---|
| 102 | + | else G) |
---|
101 | 103 | | then true |
---|
102 | 104 | | else F) |
---|
103 | | - | then (size(x.payments) == 0) |
---|
| 105 | + | then true |
---|
| 106 | + | else H) |
---|
| 107 | + | then (size(z.payments) == 0) |
---|
104 | 108 | | else false) |
---|
105 | | - | then G |
---|
| 109 | + | then I |
---|
106 | 110 | | else false |
---|
107 | 111 | | } |
---|
108 | 112 | | else { |
---|
109 | | - | let H = if (sigVerify(v.bodyBytes, v.proofs[0], n)) |
---|
| 113 | + | let J = if (sigVerify(x.bodyBytes, x.proofs[0], o)) |
---|
110 | 114 | | then 1 |
---|
111 | 115 | | else 0 |
---|
112 | | - | let I = if (sigVerify(v.bodyBytes, v.proofs[1], o)) |
---|
| 116 | + | let K = if (sigVerify(x.bodyBytes, x.proofs[1], p)) |
---|
113 | 117 | | then 1 |
---|
114 | 118 | | else 0 |
---|
115 | | - | let J = if (sigVerify(v.bodyBytes, v.proofs[2], p)) |
---|
| 119 | + | let L = if (sigVerify(x.bodyBytes, x.proofs[2], q)) |
---|
116 | 120 | | then 1 |
---|
117 | 121 | | else 0 |
---|
118 | | - | (((H + I) + J) >= 2) |
---|
| 122 | + | (((J + K) + L) >= 2) |
---|
119 | 123 | | } |
---|
120 | 124 | | } |
---|
121 | 125 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz') |
---|
5 | 5 | | |
---|
6 | 6 | | func b (c) = { |
---|
7 | 7 | | let d = getString(a, c) |
---|
8 | 8 | | if ($isInstanceOf(d, "String")) |
---|
9 | 9 | | then { |
---|
10 | 10 | | let e = d |
---|
11 | 11 | | fromBase58String(e) |
---|
12 | 12 | | } |
---|
13 | 13 | | else { |
---|
14 | 14 | | let f = d |
---|
15 | 15 | | throw((c + "is empty")) |
---|
16 | 16 | | } |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | let g = "admin_pub_1" |
---|
21 | 21 | | |
---|
22 | 22 | | let h = "admin_pub_2" |
---|
23 | 23 | | |
---|
24 | 24 | | let i = "admin_pub_3" |
---|
25 | 25 | | |
---|
26 | 26 | | let j = "admin_invoke_pub" |
---|
27 | 27 | | |
---|
28 | 28 | | let k = "governance_address" |
---|
29 | 29 | | |
---|
30 | 30 | | let l = "farming_address" |
---|
31 | 31 | | |
---|
32 | 32 | | let m = "surveys_address" |
---|
33 | 33 | | |
---|
34 | | - | let n = b(g) |
---|
| 34 | + | let n = "routing_address" |
---|
35 | 35 | | |
---|
36 | | - | let o = b(h) |
---|
| 36 | + | let o = b(g) |
---|
37 | 37 | | |
---|
38 | | - | let p = b(i) |
---|
| 38 | + | let p = b(h) |
---|
39 | 39 | | |
---|
40 | | - | let q = b(j) |
---|
| 40 | + | let q = b(i) |
---|
41 | 41 | | |
---|
42 | | - | let r = Address(b(k)) |
---|
| 42 | + | let r = b(j) |
---|
43 | 43 | | |
---|
44 | | - | let s = Address(b(l)) |
---|
| 44 | + | let s = Address(b(k)) |
---|
45 | 45 | | |
---|
46 | | - | let t = Address(b(m)) |
---|
| 46 | + | let t = Address(b(l)) |
---|
47 | 47 | | |
---|
48 | | - | let u = "pool_" |
---|
| 48 | + | let u = Address(b(m)) |
---|
| 49 | + | |
---|
| 50 | + | let v = Address(b(n)) |
---|
| 51 | + | |
---|
| 52 | + | let w = "pool_" |
---|
49 | 53 | | |
---|
50 | 54 | | |
---|
51 | | - | @Verifier(v) |
---|
52 | | - | func w () = { |
---|
53 | | - | let d = v |
---|
| 55 | + | @Verifier(x) |
---|
| 56 | + | func y () = { |
---|
| 57 | + | let d = x |
---|
54 | 58 | | if ($isInstanceOf(d, "InvokeScriptTransaction")) |
---|
55 | 59 | | then { |
---|
56 | | - | let x = d |
---|
57 | | - | let y = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp)))))) |
---|
58 | | - | then (x.function == "callFunction") |
---|
| 60 | + | let z = d |
---|
| 61 | + | let A = if ((z.dApp == v)) |
---|
| 62 | + | then (z.function == "routingTrade") |
---|
| 63 | + | else false |
---|
| 64 | + | let B = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 65 | + | then (z.function == "callFunction") |
---|
59 | 66 | | else false) |
---|
60 | | - | then (x.args[0] == "exchange") |
---|
| 67 | + | then (z.args[0] == "exchange") |
---|
61 | 68 | | else false |
---|
62 | | - | let z = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp)))))) |
---|
63 | | - | then (x.function == "exchange") |
---|
| 69 | + | let C = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 70 | + | then (z.function == "exchange") |
---|
64 | 71 | | else false |
---|
65 | | - | let A = if ((x.dApp == r)) |
---|
66 | | - | then (x.function == "airDrop") |
---|
| 72 | + | let D = if ((z.dApp == s)) |
---|
| 73 | + | then (z.function == "airDrop") |
---|
67 | 74 | | else false |
---|
68 | | - | let B = if ((x.dApp == r)) |
---|
69 | | - | then (x.function == "updateWeights") |
---|
| 75 | + | let E = if ((z.dApp == s)) |
---|
| 76 | + | then (z.function == "updateWeights") |
---|
70 | 77 | | else false |
---|
71 | | - | let C = if ((x.dApp == s)) |
---|
72 | | - | then (x.function == "updatePoolInterest") |
---|
| 78 | + | let F = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 79 | + | then (z.function == "callFunction") |
---|
| 80 | + | else false) |
---|
| 81 | + | then (z.args[0] == "takeIntoAccountExtraFunds") |
---|
73 | 82 | | else false |
---|
74 | | - | let D = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp)))))) |
---|
75 | | - | then (x.function == "callFunction") |
---|
76 | | - | else false) |
---|
77 | | - | then (x.args[0] == "takeIntoAccountExtraFunds") |
---|
| 83 | + | let G = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 84 | + | then (z.function == "takeIntoAccountExtraFunds") |
---|
78 | 85 | | else false |
---|
79 | | - | let E = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp)))))) |
---|
80 | | - | then (x.function == "takeIntoAccountExtraFunds") |
---|
| 86 | + | let H = if ((z.dApp == u)) |
---|
| 87 | + | then (z.function == "writeTotals") |
---|
81 | 88 | | else false |
---|
82 | | - | let F = if ((x.dApp == t)) |
---|
83 | | - | then (x.function == "writeTotals") |
---|
84 | | - | else false |
---|
85 | | - | let G = sigVerify(v.bodyBytes, v.proofs[0], q) |
---|
86 | | - | if (if (if (if (if (z) |
---|
| 89 | + | let I = sigVerify(x.bodyBytes, x.proofs[0], r) |
---|
| 90 | + | if (if (if (if (if (if (C) |
---|
87 | 91 | | then true |
---|
88 | | - | else y) |
---|
| 92 | + | else B) |
---|
| 93 | + | then true |
---|
| 94 | + | else D) |
---|
89 | 95 | | then true |
---|
90 | 96 | | else A) |
---|
91 | | - | then (size(x.payments) == 1) |
---|
| 97 | + | then (size(z.payments) == 1) |
---|
92 | 98 | | else false) |
---|
93 | 99 | | then true |
---|
94 | | - | else if (if (if (if (if (B) |
---|
| 100 | + | else if (if (if (if (E) |
---|
95 | 101 | | then true |
---|
96 | | - | else C) |
---|
97 | | - | then true |
---|
98 | | - | else E) |
---|
99 | | - | then true |
---|
100 | | - | else D) |
---|
| 102 | + | else G) |
---|
101 | 103 | | then true |
---|
102 | 104 | | else F) |
---|
103 | | - | then (size(x.payments) == 0) |
---|
| 105 | + | then true |
---|
| 106 | + | else H) |
---|
| 107 | + | then (size(z.payments) == 0) |
---|
104 | 108 | | else false) |
---|
105 | | - | then G |
---|
| 109 | + | then I |
---|
106 | 110 | | else false |
---|
107 | 111 | | } |
---|
108 | 112 | | else { |
---|
109 | | - | let H = if (sigVerify(v.bodyBytes, v.proofs[0], n)) |
---|
| 113 | + | let J = if (sigVerify(x.bodyBytes, x.proofs[0], o)) |
---|
110 | 114 | | then 1 |
---|
111 | 115 | | else 0 |
---|
112 | | - | let I = if (sigVerify(v.bodyBytes, v.proofs[1], o)) |
---|
| 116 | + | let K = if (sigVerify(x.bodyBytes, x.proofs[1], p)) |
---|
113 | 117 | | then 1 |
---|
114 | 118 | | else 0 |
---|
115 | | - | let J = if (sigVerify(v.bodyBytes, v.proofs[2], p)) |
---|
| 119 | + | let L = if (sigVerify(x.bodyBytes, x.proofs[2], q)) |
---|
116 | 120 | | then 1 |
---|
117 | 121 | | else 0 |
---|
118 | | - | (((H + I) + J) >= 2) |
---|
| 122 | + | (((J + K) + L) >= 2) |
---|
119 | 123 | | } |
---|
120 | 124 | | } |
---|
121 | 125 | | |
---|