tx · 4euGcv6X318gndURAhGkuTPGUFDeBi5QBP58zHhp6Fqn

3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had:  -0.00700000 Waves

2023.02.07 13:36 [2439071] smart account 3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had > SELF 0.00000000 Waves

{ "type": 13, "id": "4euGcv6X318gndURAhGkuTPGUFDeBi5QBP58zHhp6Fqn", "fee": 700000, "feeAssetId": null, "timestamp": 1675766161185, "version": 2, "chainId": 84, "sender": "3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had", "senderPublicKey": "EAmZF2D2BbfoPsrMGFAs2UCv8ScAXxhAZRzFpkveca8G", "proofs": [ "jc5KGrQn5exxyfc4QhjTNHGnmpubqRuCvZ6nYPjsdb3HvF5ZqKQRPL5nR4AK1iznHceLeCQfStC6Mj4u11K579V", "2Fv49W4VVTDL7YcbPe7JFjVxXLX5rzfF66EVM24he48vSQ9WLLqTjRnxBuH1SjDk1PWTKrKhS4o2LztbqYMb56nW" ], "script": "base64:BgICCAITAAZvcmFjbGUJAQdBZGRyZXNzAQEaAVRIE5cMwNMzzCUygLYp96dkaICr48x7S5kBE2dldEJhc2U1OEZyb21PcmFjbGUBA2tleQQHJG1hdGNoMAkAnQgCBQZvcmFjbGUFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBnN0cmluZwUHJG1hdGNoMAkA2QQBBQZzdHJpbmcEB25vdGhpbmcFByRtYXRjaDAJAAIBCQCsAgIFA2tleQIIaXMgZW1wdHkADWtBZG1pblB1YktleTECC2FkbWluX3B1Yl8xAA1rQWRtaW5QdWJLZXkyAgthZG1pbl9wdWJfMgANa0FkbWluUHViS2V5MwILYWRtaW5fcHViXzMAEmtBZG1pbkludm9rZVB1YktleQIQYWRtaW5faW52b2tlX3B1YgALa0dvdkFkZHJlc3MCEmdvdmVybmFuY2VfYWRkcmVzcwAMa0Zhcm1BZGRyZXNzAg9mYXJtaW5nX2FkZHJlc3MAD2tTdXJ2ZX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pblB1YktleTJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQxhZG1pblB1YktleTIAAQAABBJhZG1pblB1YktleTNTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQxhZG1pblB1YktleTMAAQAACQBnAgkAZAIJAGQCBRJhZG1pblB1YktleTFTaWduZWQFEmFkbWluUHViS2V5MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAALCnp71", "height": 2439071, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BM1susiGXguobSUZ5Emheg6z1AUVNHLYEjjevqFBFNSk Next: AABhUJnZ3dMkZd1dDdRtCX9RAYhMSyDUs5BqTqhWU6TQ 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 = "routing_address"
3535
3636 let o = b(g)
3737
3838 let p = b(h)
3939
4040 let q = b(i)
4141
4242 let r = b(j)
4343
4444 let s = Address(b(k))
4545
4646 let t = Address(b(l))
4747
4848 let u = Address(b(m))
4949
5050 let v = Address(b(n))
5151
5252 let w = "pool_"
5353
5454
5555 @Verifier(x)
5656 func y () = {
5757 let d = x
5858 if ($isInstanceOf(d, "InvokeScriptTransaction"))
5959 then {
6060 let z = d
6161 let A = if ((z.fee == 900000))
6262 then (z.feeAssetId == unit)
6363 else false
6464 let B = if ((z.dApp == v))
6565 then (z.function == "routingTrade")
6666 else false
6767 let C = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp))))))
6868 then (z.function == "callFunction")
6969 else false)
7070 then (z.args[0] == "exchange")
7171 else false
7272 let D = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp))))))
7373 then (z.function == "exchange")
7474 else false
7575 let E = if ((z.dApp == s))
7676 then (z.function == "airDrop")
7777 else false
7878 let F = if ((z.dApp == s))
7979 then (z.function == "updateWeights")
8080 else false
8181 let G = if (if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp))))))
8282 then (z.function == "callFunction")
8383 else false)
8484 then (z.args[0] == "takeIntoAccountExtraFunds")
8585 else false
8686 let H = if (isDefined(getString(a, (w + toString(addressFromRecipient(z.dApp))))))
8787 then (z.function == "takeIntoAccountExtraFunds")
8888 else false
8989 let I = if ((z.dApp == u))
9090 then (z.function == "writeTotals")
9191 else false
9292 let J = if (sigVerify(x.bodyBytes, x.proofs[0], o))
9393 then 1
9494 else 0
9595 let K = if (sigVerify(x.bodyBytes, x.proofs[0], p))
9696 then 1
9797 else 0
9898 let L = if (sigVerify(x.bodyBytes, x.proofs[0], q))
9999 then 1
100100 else 0
101101 let M = if (sigVerify(x.bodyBytes, x.proofs[0], r))
102102 then 1
103103 else 0
104104 let N = ((((J + K) + L) + M) >= 1)
105105 if (if (if (if (if (if (if (D)
106106 then true
107107 else C)
108108 then true
109109 else E)
110110 then true
111111 else B)
112112 then (size(z.payments) == 1)
113113 else false)
114114 then true
115115 else if (if (if (if (F)
116116 then true
117117 else H)
118118 then true
119119 else G)
120120 then true
121121 else I)
122122 then (size(z.payments) == 0)
123123 else false)
124124 then N
125125 else false)
126126 then A
127127 else false
128128 }
129129 else {
130130 let J = if (sigVerify(x.bodyBytes, x.proofs[0], o))
131131 then 1
132132 else 0
133133 let K = if (sigVerify(x.bodyBytes, x.proofs[1], p))
134134 then 1
135135 else 0
136136 let L = if (sigVerify(x.bodyBytes, x.proofs[2], q))
137137 then 1
138138 else 0
139139 (((J + K) + L) >= 2)
140140 }
141141 }
142142

github/deemru/w8io/026f985 
26.97 ms