tx · 2MGWf8kASDBFKUQTMB7KUktLecyYePGwJ8nffCZj8Qin

3N3v2zVJyynhzc39qG5wrE244prmxQ4bgV4:  -0.14000000 Waves

2023.03.22 17:10 [2501322] smart account 3N3v2zVJyynhzc39qG5wrE244prmxQ4bgV4 > SELF 0.00000000 Waves

{ "type": 13, "id": "2MGWf8kASDBFKUQTMB7KUktLecyYePGwJ8nffCZj8Qin", "fee": 14000000, "feeAssetId": null, "timestamp": 1679494210713, "version": 2, "chainId": 84, "sender": "3N3v2zVJyynhzc39qG5wrE244prmxQ4bgV4", "senderPublicKey": "B9tjfxvdWuoHAvWusCmsxYMGHa4o2uzQmod3uHjLmF5G", "proofs": [ "2u7KVZVXRpudCZVW5keaZSX2e2EJgYMTgxv2YyxWqg6goqh98a7NUMQYfdvP9ZTkiy3rhawu2iMtHRE6d1DutAof", "2oTk3CqLQ8oXhsavjgTMSkjx11o3mRULghJuZFqHKeCVeLYEpGXm221LkpDbR2EKmcxuuXhfg1sBNe16m91D4qgu" ], "script": "base64:BgICCAINAAZvcmFjbGUJAQdBZGRyZXNzAQEaAVRIE5cMwNMzzCUygLYp96dkaICr48x7S5kBE2dldEJhc2U1OEZyb21PcmFjbGUBA2tleQQHJG1hdGNoMAkAnQgCBQZvcmFjbGUFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBnN0cmluZwUHJG1hdGNoMAkA2QQBBQZzdHJpbmcEB25vdGhpbmcFByRtYXRjaDAJAAIBCQCsAgIFA2tleQIIaXMgZW1wdHkADWtBZG1pblB1YktleTECC2FkbWluX3B1Yl8xAA1rQWRtaW5QdWJLZXkyAgthZG1pbl9wdWJfMgANa0FkbWluUHViS2V5MwILYWRtaW5fcHViXzMAEmtBZG1pbkludm9rZVB1YktleQIQYWRtaW5faW52b2tlX3B1YgAMa1JvdXRpbmdBZGRyAg9yb3V0aW5nX2FkZHJlc3MADGFkbWluUHViS2V5MQkBE2dldEJhc2U1OEZyb21PcmFjbGUBBQ1rQWRtaW5Q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WJLZXkzU2lnbmVkAAKwpyKg", "height": 2501322, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6dTMKXHrBZVXcD91DkV44XSr7zN8HHZtTsgbv1G5tG5Y Next: none Diff:
OldNewDifferences
7373 then 1
7474 else 0
7575 let C = ((((y + z) + A) + B) >= 1)
76- if (if (if (if (if (if (x)
76+ if (if (if (if (if (x)
7777 then true
7878 else w)
7979 then true
8080 else v)
8181 then (size(t.payments) == 1)
82- else false)
83- then sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey)
8482 else false)
8583 then u
8684 else false)
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 = "routing_address"
2929
3030 let l = b(g)
3131
3232 let m = b(h)
3333
3434 let n = b(i)
3535
3636 let o = b(j)
3737
3838 let p = Address(b(k))
3939
4040 let q = "pool_"
4141
4242
4343 @Verifier(r)
4444 func s () = {
4545 let d = r
4646 if ($isInstanceOf(d, "InvokeScriptTransaction"))
4747 then {
4848 let t = d
4949 let u = if ((t.fee == 900000))
5050 then (t.feeAssetId == unit)
5151 else false
5252 let v = if ((t.dApp == p))
5353 then (t.function == "routingTrade")
5454 else false
5555 let w = if (if (isDefined(getString(a, (q + toString(addressFromRecipient(t.dApp))))))
5656 then (t.function == "callFunction")
5757 else false)
5858 then (t.args[0] == "exchange")
5959 else false
6060 let x = if (isDefined(getString(a, (q + toString(addressFromRecipient(t.dApp))))))
6161 then (t.function == "exchange")
6262 else false
6363 let y = if (sigVerify(r.bodyBytes, r.proofs[0], l))
6464 then 1
6565 else 0
6666 let z = if (sigVerify(r.bodyBytes, r.proofs[0], m))
6767 then 1
6868 else 0
6969 let A = if (sigVerify(r.bodyBytes, r.proofs[0], n))
7070 then 1
7171 else 0
7272 let B = if (sigVerify(r.bodyBytes, r.proofs[0], o))
7373 then 1
7474 else 0
7575 let C = ((((y + z) + A) + B) >= 1)
76- if (if (if (if (if (if (x)
76+ if (if (if (if (if (x)
7777 then true
7878 else w)
7979 then true
8080 else v)
8181 then (size(t.payments) == 1)
82- else false)
83- then sigVerify(r.bodyBytes, r.proofs[0], r.senderPublicKey)
8482 else false)
8583 then u
8684 else false)
8785 then C
8886 else false
8987 }
9088 else {
9189 let y = if (sigVerify(r.bodyBytes, r.proofs[0], l))
9290 then 1
9391 else 0
9492 let z = if (sigVerify(r.bodyBytes, r.proofs[1], m))
9593 then 1
9694 else 0
9795 let A = if (sigVerify(r.bodyBytes, r.proofs[2], n))
9896 then 1
9997 else 0
10098 (((y + z) + A) >= 2)
10199 }
102100 }
103101

github/deemru/w8io/169f3d6 
32.77 ms