tx · BkSbowoKDG625JsvrEkE8g9ZnPMwNWSDjN59dTTsjP6w

3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had:  -0.14000000 Waves

2022.12.06 10:35 [2348182] smart account 3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had > SELF 0.00000000 Waves

{ "type": 13, "id": "BkSbowoKDG625JsvrEkE8g9ZnPMwNWSDjN59dTTsjP6w", "fee": 14000000, "feeAssetId": null, "timestamp": 1670312159164, "version": 2, "chainId": 84, "sender": "3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had", "senderPublicKey": "EAmZF2D2BbfoPsrMGFAs2UCv8ScAXxhAZRzFpkveca8G", "proofs": [ "639B1bPniSZmZFC1ZSoQPRmJogRf37ctJdVeH3JqGG6Thhdg58ExjACppyWXkzoKSJn88Ch9dXcrLU41xnmubcHk", "NGTrzGSQMSTkX4Esz4nYEbhRARYZiLGwBRZNbCKK5ycFsdFkXyevkipNhREoHSJXnW4C3ypcwUky7mSuSbGPnDW" ], "script": "base64:BgICCAIRAAZvcmFjbGUJAQdBZGRyZXNzAQEaAVRIE5cMwNMzzCUygLYp96dkaICr48x7S5kBE2dldEJhc2U1OEZyb21PcmFjbGUBA2tleQQHJG1hdGNoMAkAnQgCBQZvcmFjbGUFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBnN0cmluZwUHJG1hdGNoMAkA2QQBBQZzdHJpbmcEB25vdGhpbmcFByRtYXRjaDAJAAIBCQCsAgIFA2tleQIIaXMgZW1wdHkADWtBZG1pblB1YktleTECC2FkbWluX3B1Yl8xAA1rQWRtaW5QdWJLZXkyAgthZG1pbl9wdWJfMgANa0FkbWluUHViS2V5MwILYWRtaW5fcHViXzMAEmtBZG1pbkludm9rZVB1YktleQIQYWRtaW5faW52b2tlX3B1YgALa0dvdkFkZHJlc3MCEmdvdmVybmFuY2VfYWRkcmVzcwAMa0Zhcm1BZGRyZXNzAg9mYXJtaW5nX2FkZHJlc3MAD2tTdXJ2Z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bENQTU0GBQ1pc0FpcmRyb3BDYWxsCQAAAgkAkAMBCAUDaW52CHBheW1lbnRzAAEHBgMDAwMDBRNpc1VwZGF0ZVdlaWdodHNDYWxsBgUUaXNVcGRhdGVQb29sSW50ZXJlc3QGBRJpc1Rha2VuSW50b0FjY291bnQGBRZpc1Rha2VuSW50b0FjY291bnRDUE1NBgUMaXNXcml0ZVRvdGFsCQAAAgkAkAMBCAUDaW52CHBheW1lbnRzAAAHBQ1zaWduZWRCeUFkbWluBwQSYWRtaW5QdWJLZXkxU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkxAAEAAAQSYWRtaW5QdWJLZXkyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUMYWRtaW5QdWJLZXkyAAEAAAQSYWRtaW5QdWJLZXkzU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUMYWRtaW5QdWJLZXkzAAEAAAkAZwIJAGQCCQBkAgUSYWRtaW5QdWJLZXkxU2lnbmVkBRJhZG1pblB1YktleTJTaWduZWQFEmFkbWluUHViS2V5M1NpZ25lZAACyv7zDA==", "height": 2348182, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3qJQxdYx3rbgQfjtTKtfEdmSTuf5nxs3h1hseBkWmi1V Next: 4mQgv8gFZ6322cVh4C4QX1U7CPaf6irztSsMxkFHQPkd Diff:
OldNewDifferences
5959 else false)
6060 then (x.args[0] == "exchange")
6161 else false
62- let z = if ((x.dApp == r))
62+ let z = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
63+ then (x.function == "exchange")
64+ else false
65+ let A = if ((x.dApp == r))
6366 then (x.function == "airDrop")
6467 else false
65- let A = if ((x.dApp == r))
68+ let B = if ((x.dApp == r))
6669 then (x.function == "updateWeights")
6770 else false
68- let B = if ((x.dApp == s))
71+ let C = if ((x.dApp == s))
6972 then (x.function == "updatePoolInterest")
7073 else false
71- let C = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
74+ let D = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
7275 then (x.function == "callFunction")
7376 else false)
7477 then (x.args[0] == "takeIntoAccountExtraFunds")
7578 else false
76- let D = if ((x.dApp == t))
79+ let E = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
80+ then (x.function == "takeIntoAccountExtraFunds")
81+ else false
82+ let F = if ((x.dApp == t))
7783 then (x.function == "writeTotals")
7884 else false
79- let E = sigVerify(v.bodyBytes, v.proofs[0], q)
80- if (if (if (if (y)
85+ let G = sigVerify(v.bodyBytes, v.proofs[0], q)
86+ if (if (if (if (if (z)
8187 then true
82- else z)
88+ else y)
89+ then true
90+ else A)
8391 then (size(x.payments) == 1)
8492 else false)
8593 then true
86- else if (if (if (if (A)
87- then true
88- else B)
94+ else if (if (if (if (if (B)
8995 then true
9096 else C)
9197 then true
98+ else E)
99+ then true
92100 else D)
101+ then true
102+ else F)
93103 then (size(x.payments) == 0)
94104 else false)
95- then E
105+ then G
96106 else false
97107 }
98108 else {
99- let F = if (sigVerify(v.bodyBytes, v.proofs[0], n))
109+ let H = if (sigVerify(v.bodyBytes, v.proofs[0], n))
100110 then 1
101111 else 0
102- let G = if (sigVerify(v.bodyBytes, v.proofs[1], o))
112+ let I = if (sigVerify(v.bodyBytes, v.proofs[1], o))
103113 then 1
104114 else 0
105- let H = if (sigVerify(v.bodyBytes, v.proofs[2], p))
115+ let J = if (sigVerify(v.bodyBytes, v.proofs[2], p))
106116 then 1
107117 else 0
108- (((F + G) + H) >= 2)
118+ (((H + I) + J) >= 2)
109119 }
110120 }
111121
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
55
66 func b (c) = {
77 let d = getString(a, c)
88 if ($isInstanceOf(d, "String"))
99 then {
1010 let e = d
1111 fromBase58String(e)
1212 }
1313 else {
1414 let f = d
1515 throw((c + "is empty"))
1616 }
1717 }
1818
1919
2020 let g = "admin_pub_1"
2121
2222 let h = "admin_pub_2"
2323
2424 let i = "admin_pub_3"
2525
2626 let j = "admin_invoke_pub"
2727
2828 let k = "governance_address"
2929
3030 let l = "farming_address"
3131
3232 let m = "surveys_address"
3333
3434 let n = b(g)
3535
3636 let o = b(h)
3737
3838 let p = b(i)
3939
4040 let q = b(j)
4141
4242 let r = Address(b(k))
4343
4444 let s = Address(b(l))
4545
4646 let t = Address(b(m))
4747
4848 let u = "pool_"
4949
5050
5151 @Verifier(v)
5252 func w () = {
5353 let d = v
5454 if ($isInstanceOf(d, "InvokeScriptTransaction"))
5555 then {
5656 let x = d
5757 let y = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
5858 then (x.function == "callFunction")
5959 else false)
6060 then (x.args[0] == "exchange")
6161 else false
62- let z = if ((x.dApp == r))
62+ let z = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
63+ then (x.function == "exchange")
64+ else false
65+ let A = if ((x.dApp == r))
6366 then (x.function == "airDrop")
6467 else false
65- let A = if ((x.dApp == r))
68+ let B = if ((x.dApp == r))
6669 then (x.function == "updateWeights")
6770 else false
68- let B = if ((x.dApp == s))
71+ let C = if ((x.dApp == s))
6972 then (x.function == "updatePoolInterest")
7073 else false
71- let C = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
74+ let D = if (if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
7275 then (x.function == "callFunction")
7376 else false)
7477 then (x.args[0] == "takeIntoAccountExtraFunds")
7578 else false
76- let D = if ((x.dApp == t))
79+ let E = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
80+ then (x.function == "takeIntoAccountExtraFunds")
81+ else false
82+ let F = if ((x.dApp == t))
7783 then (x.function == "writeTotals")
7884 else false
79- let E = sigVerify(v.bodyBytes, v.proofs[0], q)
80- if (if (if (if (y)
85+ let G = sigVerify(v.bodyBytes, v.proofs[0], q)
86+ if (if (if (if (if (z)
8187 then true
82- else z)
88+ else y)
89+ then true
90+ else A)
8391 then (size(x.payments) == 1)
8492 else false)
8593 then true
86- else if (if (if (if (A)
87- then true
88- else B)
94+ else if (if (if (if (if (B)
8995 then true
9096 else C)
9197 then true
98+ else E)
99+ then true
92100 else D)
101+ then true
102+ else F)
93103 then (size(x.payments) == 0)
94104 else false)
95- then E
105+ then G
96106 else false
97107 }
98108 else {
99- let F = if (sigVerify(v.bodyBytes, v.proofs[0], n))
109+ let H = if (sigVerify(v.bodyBytes, v.proofs[0], n))
100110 then 1
101111 else 0
102- let G = if (sigVerify(v.bodyBytes, v.proofs[1], o))
112+ let I = if (sigVerify(v.bodyBytes, v.proofs[1], o))
103113 then 1
104114 else 0
105- let H = if (sigVerify(v.bodyBytes, v.proofs[2], p))
115+ let J = if (sigVerify(v.bodyBytes, v.proofs[2], p))
106116 then 1
107117 else 0
108- (((F + G) + H) >= 2)
118+ (((H + I) + J) >= 2)
109119 }
110120 }
111121

github/deemru/w8io/169f3d6 
28.27 ms