tx · EtgAuHSS2sxcWufC5n3kfXc4g4Ybh6WmDx5JRsAMArRb
3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had: -0.14000000 Waves
2022.12.15 15:59 [2361454] smart account 3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had > SELF 0.00000000 Waves
{
"type": 13,
"id": "EtgAuHSS2sxcWufC5n3kfXc4g4Ybh6WmDx5JRsAMArRb",
"fee": 14000000,
"feeAssetId": null,
"timestamp": 1671109201486,
"version": 2,
"chainId": 84,
"sender": "3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had",
"senderPublicKey": "EAmZF2D2BbfoPsrMGFAs2UCv8ScAXxhAZRzFpkveca8G",
"proofs": [
"2gxN7GFuwgp3kJrjqJ3VWnXyafn2gSn4aBPBc84Bs1BXvecQjmhbaxWsTGdApW2RenneUbi3n3VkxSmfer8J96e5",
"4Ni9eJWnutDDUDn3kEWXoGkhb4EBVMNsFZjwUpejjdzZwDGdoet4xtvJMSjnUgSfJYq25pEQD2LScu2ARjiLYHRr"
],
"script": "base64:BgICCAITAAZvcmFjbGUJAQdBZGRyZXNzAQEaAVRIE5cMwNMzzCUygLYp96dkaICr48x7S5kBE2dldEJhc2U1OEZyb21PcmFjbGUBA2tleQQHJG1hdGNoMAkAnQgCBQZvcmFjbGUFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBnN0cmluZwUHJG1hdGNoMAkA2QQBBQZzdHJpbmcEB25vdGhpbmcFByRtYXRjaDAJAAIBCQCsAgIFA2tleQIIaXMgZW1wdHkADWtBZG1pblB1YktleTECC2FkbWluX3B1Yl8xAA1rQWRtaW5QdWJLZXkyAgthZG1pbl9wdWJfMgANa0FkbWluUHViS2V5MwILYWRtaW5fcHViXzMAEmtBZG1pbkludm9rZVB1YktleQIQYWRtaW5faW52b2tlX3B1YgALa0dvdkFkZHJlc3MCEmdvdmVybmFuY2VfYWRkcmVzcwAMa0Zhcm1BZGRyZXNzAg9mYXJtaW5nX2FkZ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blB1YktleTEAAQAABBJhZG1pblB1YktleTJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQxhZG1pblB1YktleTIAAQAABBJhZG1pblB1YktleTNTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQxhZG1pblB1YktleTMAAQAACQBnAgkAZAIJAGQCBRJhZG1pblB1YktleTFTaWduZWQFEmFkbWluUHViS2V5MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAALCnp71",
"height": 2361454,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8z1mRHTvsEt2AzVUG8QDkdwCAdXGiZEaDJVzURqWkxV1
Next: 2kQGcAeM3CnGwHJ7Y1PtYtreWBkC4iki6WZKycgGA1n4
Diff:
Old | New | | Differences |
---|
54 | 54 | | |
---|
55 | 55 | | @Verifier(x) |
---|
56 | 56 | | func y () = { |
---|
57 | | - | let z = if (sigVerify(x.bodyBytes, x.proofs[0], o)) |
---|
58 | | - | then 1 |
---|
59 | | - | else 0 |
---|
60 | | - | let A = if (sigVerify(x.bodyBytes, x.proofs[1], p)) |
---|
61 | | - | then 1 |
---|
62 | | - | else 0 |
---|
63 | | - | let B = if (sigVerify(x.bodyBytes, x.proofs[2], q)) |
---|
64 | | - | then 1 |
---|
65 | | - | else 0 |
---|
66 | | - | let C = if (sigVerify(x.bodyBytes, x.proofs[2], r)) |
---|
67 | | - | then 1 |
---|
68 | | - | else 0 |
---|
69 | 57 | | let d = x |
---|
70 | 58 | | if ($isInstanceOf(d, "InvokeScriptTransaction")) |
---|
71 | 59 | | then { |
---|
72 | | - | let D = d |
---|
73 | | - | let E = if ((D.fee == 900000)) |
---|
74 | | - | then (D.feeAssetId == unit) |
---|
| 60 | + | let z = d |
---|
| 61 | + | let A = if ((z.fee == 900000)) |
---|
| 62 | + | then (z.feeAssetId == unit) |
---|
75 | 63 | | else false |
---|
76 | | - | let F = if ((D.dApp == v)) |
---|
77 | | - | then (D.function == "routingTrade") |
---|
| 64 | + | let B = if ((z.dApp == v)) |
---|
| 65 | + | then (z.function == "routingTrade") |
---|
78 | 66 | | else false |
---|
79 | | - | let G = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(D.dApp)))))) |
---|
80 | | - | then (D.function == "callFunction") |
---|
| 67 | + | let C = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 68 | + | then (z.function == "callFunction") |
---|
81 | 69 | | else false) |
---|
82 | | - | then (D.args[0] == "exchange") |
---|
| 70 | + | then (z.args[0] == "exchange") |
---|
83 | 71 | | else false |
---|
84 | | - | let H = if (isDefined(getString(a, (w + toString(addressFromRecipient(D.dApp)))))) |
---|
85 | | - | then (D.function == "exchange") |
---|
| 72 | + | let D = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 73 | + | then (z.function == "exchange") |
---|
86 | 74 | | else false |
---|
87 | | - | let I = if ((D.dApp == s)) |
---|
88 | | - | then (D.function == "airDrop") |
---|
| 75 | + | let E = if ((z.dApp == s)) |
---|
| 76 | + | then (z.function == "airDrop") |
---|
89 | 77 | | else false |
---|
90 | | - | let J = if ((D.dApp == s)) |
---|
91 | | - | then (D.function == "updateWeights") |
---|
| 78 | + | let F = if ((z.dApp == s)) |
---|
| 79 | + | then (z.function == "updateWeights") |
---|
92 | 80 | | else false |
---|
93 | | - | let K = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(D.dApp)))))) |
---|
94 | | - | then (D.function == "callFunction") |
---|
| 81 | + | let G = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 82 | + | then (z.function == "callFunction") |
---|
95 | 83 | | else false) |
---|
96 | | - | then (D.args[0] == "takeIntoAccountExtraFunds") |
---|
| 84 | + | then (z.args[0] == "takeIntoAccountExtraFunds") |
---|
97 | 85 | | else false |
---|
98 | | - | let L = if (isDefined(getString(a, (w + toString(addressFromRecipient(D.dApp)))))) |
---|
99 | | - | then (D.function == "takeIntoAccountExtraFunds") |
---|
| 86 | + | let H = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 87 | + | then (z.function == "takeIntoAccountExtraFunds") |
---|
100 | 88 | | else false |
---|
101 | | - | let M = if ((D.dApp == u)) |
---|
102 | | - | then (D.function == "writeTotals") |
---|
| 89 | + | let I = if ((z.dApp == u)) |
---|
| 90 | + | then (z.function == "writeTotals") |
---|
103 | 91 | | else false |
---|
104 | | - | let N = ((((z + A) + B) + C) >= 1) |
---|
105 | | - | if (if (if (if (if (if (if (H) |
---|
| 92 | + | let J = if (sigVerify(x.bodyBytes, x.proofs[0], o)) |
---|
| 93 | + | then 1 |
---|
| 94 | + | else 0 |
---|
| 95 | + | let K = if (sigVerify(x.bodyBytes, x.proofs[0], p)) |
---|
| 96 | + | then 1 |
---|
| 97 | + | else 0 |
---|
| 98 | + | let L = if (sigVerify(x.bodyBytes, x.proofs[0], q)) |
---|
| 99 | + | then 1 |
---|
| 100 | + | else 0 |
---|
| 101 | + | let M = if (sigVerify(x.bodyBytes, x.proofs[0], r)) |
---|
| 102 | + | then 1 |
---|
| 103 | + | else 0 |
---|
| 104 | + | let N = ((((J + K) + L) + M) >= 1) |
---|
| 105 | + | if (if (if (if (if (if (if (D) |
---|
106 | 106 | | then true |
---|
107 | | - | else G) |
---|
| 107 | + | else C) |
---|
108 | 108 | | then true |
---|
109 | | - | else I) |
---|
| 109 | + | else E) |
---|
110 | 110 | | then true |
---|
111 | | - | else F) |
---|
112 | | - | then (size(D.payments) == 1) |
---|
| 111 | + | else B) |
---|
| 112 | + | then (size(z.payments) == 1) |
---|
113 | 113 | | else false) |
---|
114 | 114 | | then true |
---|
115 | | - | else if (if (if (if (J) |
---|
| 115 | + | else if (if (if (if (F) |
---|
116 | 116 | | then true |
---|
117 | | - | else L) |
---|
| 117 | + | else H) |
---|
118 | 118 | | then true |
---|
119 | | - | else K) |
---|
| 119 | + | else G) |
---|
120 | 120 | | then true |
---|
121 | | - | else M) |
---|
122 | | - | then (size(D.payments) == 0) |
---|
| 121 | + | else I) |
---|
| 122 | + | then (size(z.payments) == 0) |
---|
123 | 123 | | else false) |
---|
124 | 124 | | then N |
---|
125 | 125 | | else false) |
---|
126 | | - | then E |
---|
| 126 | + | then A |
---|
127 | 127 | | else false |
---|
128 | 128 | | } |
---|
129 | | - | else (((z + A) + B) >= 2) |
---|
| 129 | + | else { |
---|
| 130 | + | let J = if (sigVerify(x.bodyBytes, x.proofs[0], o)) |
---|
| 131 | + | then 1 |
---|
| 132 | + | else 0 |
---|
| 133 | + | let K = if (sigVerify(x.bodyBytes, x.proofs[1], p)) |
---|
| 134 | + | then 1 |
---|
| 135 | + | else 0 |
---|
| 136 | + | let L = if (sigVerify(x.bodyBytes, x.proofs[2], q)) |
---|
| 137 | + | then 1 |
---|
| 138 | + | else 0 |
---|
| 139 | + | (((J + K) + L) >= 2) |
---|
| 140 | + | } |
---|
130 | 141 | | } |
---|
131 | 142 | | |
---|
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 | 34 | | let n = "routing_address" |
---|
35 | 35 | | |
---|
36 | 36 | | let o = b(g) |
---|
37 | 37 | | |
---|
38 | 38 | | let p = b(h) |
---|
39 | 39 | | |
---|
40 | 40 | | let q = b(i) |
---|
41 | 41 | | |
---|
42 | 42 | | let r = b(j) |
---|
43 | 43 | | |
---|
44 | 44 | | let s = Address(b(k)) |
---|
45 | 45 | | |
---|
46 | 46 | | let t = Address(b(l)) |
---|
47 | 47 | | |
---|
48 | 48 | | let u = Address(b(m)) |
---|
49 | 49 | | |
---|
50 | 50 | | let v = Address(b(n)) |
---|
51 | 51 | | |
---|
52 | 52 | | let w = "pool_" |
---|
53 | 53 | | |
---|
54 | 54 | | |
---|
55 | 55 | | @Verifier(x) |
---|
56 | 56 | | func y () = { |
---|
57 | | - | let z = if (sigVerify(x.bodyBytes, x.proofs[0], o)) |
---|
58 | | - | then 1 |
---|
59 | | - | else 0 |
---|
60 | | - | let A = if (sigVerify(x.bodyBytes, x.proofs[1], p)) |
---|
61 | | - | then 1 |
---|
62 | | - | else 0 |
---|
63 | | - | let B = if (sigVerify(x.bodyBytes, x.proofs[2], q)) |
---|
64 | | - | then 1 |
---|
65 | | - | else 0 |
---|
66 | | - | let C = if (sigVerify(x.bodyBytes, x.proofs[2], r)) |
---|
67 | | - | then 1 |
---|
68 | | - | else 0 |
---|
69 | 57 | | let d = x |
---|
70 | 58 | | if ($isInstanceOf(d, "InvokeScriptTransaction")) |
---|
71 | 59 | | then { |
---|
72 | | - | let D = d |
---|
73 | | - | let E = if ((D.fee == 900000)) |
---|
74 | | - | then (D.feeAssetId == unit) |
---|
| 60 | + | let z = d |
---|
| 61 | + | let A = if ((z.fee == 900000)) |
---|
| 62 | + | then (z.feeAssetId == unit) |
---|
75 | 63 | | else false |
---|
76 | | - | let F = if ((D.dApp == v)) |
---|
77 | | - | then (D.function == "routingTrade") |
---|
| 64 | + | let B = if ((z.dApp == v)) |
---|
| 65 | + | then (z.function == "routingTrade") |
---|
78 | 66 | | else false |
---|
79 | | - | let G = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(D.dApp)))))) |
---|
80 | | - | then (D.function == "callFunction") |
---|
| 67 | + | let C = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 68 | + | then (z.function == "callFunction") |
---|
81 | 69 | | else false) |
---|
82 | | - | then (D.args[0] == "exchange") |
---|
| 70 | + | then (z.args[0] == "exchange") |
---|
83 | 71 | | else false |
---|
84 | | - | let H = if (isDefined(getString(a, (w + toString(addressFromRecipient(D.dApp)))))) |
---|
85 | | - | then (D.function == "exchange") |
---|
| 72 | + | let D = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 73 | + | then (z.function == "exchange") |
---|
86 | 74 | | else false |
---|
87 | | - | let I = if ((D.dApp == s)) |
---|
88 | | - | then (D.function == "airDrop") |
---|
| 75 | + | let E = if ((z.dApp == s)) |
---|
| 76 | + | then (z.function == "airDrop") |
---|
89 | 77 | | else false |
---|
90 | | - | let J = if ((D.dApp == s)) |
---|
91 | | - | then (D.function == "updateWeights") |
---|
| 78 | + | let F = if ((z.dApp == s)) |
---|
| 79 | + | then (z.function == "updateWeights") |
---|
92 | 80 | | else false |
---|
93 | | - | let K = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(D.dApp)))))) |
---|
94 | | - | then (D.function == "callFunction") |
---|
| 81 | + | let G = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 82 | + | then (z.function == "callFunction") |
---|
95 | 83 | | else false) |
---|
96 | | - | then (D.args[0] == "takeIntoAccountExtraFunds") |
---|
| 84 | + | then (z.args[0] == "takeIntoAccountExtraFunds") |
---|
97 | 85 | | else false |
---|
98 | | - | let L = if (isDefined(getString(a, (w + toString(addressFromRecipient(D.dApp)))))) |
---|
99 | | - | then (D.function == "takeIntoAccountExtraFunds") |
---|
| 86 | + | let H = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp)))))) |
---|
| 87 | + | then (z.function == "takeIntoAccountExtraFunds") |
---|
100 | 88 | | else false |
---|
101 | | - | let M = if ((D.dApp == u)) |
---|
102 | | - | then (D.function == "writeTotals") |
---|
| 89 | + | let I = if ((z.dApp == u)) |
---|
| 90 | + | then (z.function == "writeTotals") |
---|
103 | 91 | | else false |
---|
104 | | - | let N = ((((z + A) + B) + C) >= 1) |
---|
105 | | - | if (if (if (if (if (if (if (H) |
---|
| 92 | + | let J = if (sigVerify(x.bodyBytes, x.proofs[0], o)) |
---|
| 93 | + | then 1 |
---|
| 94 | + | else 0 |
---|
| 95 | + | let K = if (sigVerify(x.bodyBytes, x.proofs[0], p)) |
---|
| 96 | + | then 1 |
---|
| 97 | + | else 0 |
---|
| 98 | + | let L = if (sigVerify(x.bodyBytes, x.proofs[0], q)) |
---|
| 99 | + | then 1 |
---|
| 100 | + | else 0 |
---|
| 101 | + | let M = if (sigVerify(x.bodyBytes, x.proofs[0], r)) |
---|
| 102 | + | then 1 |
---|
| 103 | + | else 0 |
---|
| 104 | + | let N = ((((J + K) + L) + M) >= 1) |
---|
| 105 | + | if (if (if (if (if (if (if (D) |
---|
106 | 106 | | then true |
---|
107 | | - | else G) |
---|
| 107 | + | else C) |
---|
108 | 108 | | then true |
---|
109 | | - | else I) |
---|
| 109 | + | else E) |
---|
110 | 110 | | then true |
---|
111 | | - | else F) |
---|
112 | | - | then (size(D.payments) == 1) |
---|
| 111 | + | else B) |
---|
| 112 | + | then (size(z.payments) == 1) |
---|
113 | 113 | | else false) |
---|
114 | 114 | | then true |
---|
115 | | - | else if (if (if (if (J) |
---|
| 115 | + | else if (if (if (if (F) |
---|
116 | 116 | | then true |
---|
117 | | - | else L) |
---|
| 117 | + | else H) |
---|
118 | 118 | | then true |
---|
119 | | - | else K) |
---|
| 119 | + | else G) |
---|
120 | 120 | | then true |
---|
121 | | - | else M) |
---|
122 | | - | then (size(D.payments) == 0) |
---|
| 121 | + | else I) |
---|
| 122 | + | then (size(z.payments) == 0) |
---|
123 | 123 | | else false) |
---|
124 | 124 | | then N |
---|
125 | 125 | | else false) |
---|
126 | | - | then E |
---|
| 126 | + | then A |
---|
127 | 127 | | else false |
---|
128 | 128 | | } |
---|
129 | | - | else (((z + A) + B) >= 2) |
---|
| 129 | + | else { |
---|
| 130 | + | let J = if (sigVerify(x.bodyBytes, x.proofs[0], o)) |
---|
| 131 | + | then 1 |
---|
| 132 | + | else 0 |
---|
| 133 | + | let K = if (sigVerify(x.bodyBytes, x.proofs[1], p)) |
---|
| 134 | + | then 1 |
---|
| 135 | + | else 0 |
---|
| 136 | + | let L = if (sigVerify(x.bodyBytes, x.proofs[2], q)) |
---|
| 137 | + | then 1 |
---|
| 138 | + | else 0 |
---|
| 139 | + | (((J + K) + L) >= 2) |
---|
| 140 | + | } |
---|
130 | 141 | | } |
---|
131 | 142 | | |
---|