tx · CaEbTUc8A8wezb6bTgM4Uimws9MuA7LoFiukLhF1Bway

3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had:  -0.14000000 Waves

2022.10.17 19:03 [2276590] smart account 3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had > SELF 0.00000000 Waves

{ "type": 13, "id": "CaEbTUc8A8wezb6bTgM4Uimws9MuA7LoFiukLhF1Bway", "fee": 14000000, "feeAssetId": null, "timestamp": 1666022623488, "version": 2, "chainId": 84, "sender": "3N2eueE5vLLKe8jXuBDbdbKcPaH36yG1Had", "senderPublicKey": "EAmZF2D2BbfoPsrMGFAs2UCv8ScAXxhAZRzFpkveca8G", "proofs": [ "2oxv71ms4FuMFuwRMcSYMdcM2bQo8LbSPfgfp4qRNhgpQiJKmQaBMGoSccc5X2BHcz8UYA2rGMHBAk7zSeNGN2ru", "3ANcsPQPCeL42ArsJrKZzAEFqscbgPjHg1vuRnEd6CWMi4CkmR3XXEnwqyudvhsVJmjBTQzbuneS3b3dAJ81zvod" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAABEAAAAABm9yYWNsZQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVEgTlwzA0zPMJTKAtin3p2RogKvjzHtLmQEAAAATZ2V0QmFzZTU4RnJvbU9yYWNsZQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABm9yYWNsZQUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAABnN0cmluZwUAAAAHJG1hdGNoMAkAAlkAAAABBQAAAAZzdHJpbmcEAAAAB25vdGhpbmcFAAAAByRtYXRjaDAJAAACAAAAAQkAASwAAAACBQAAAANrZXkCAAAACGlzIGVtcHR5AAAAAA1rQWRtaW5QdWJLZXkxAgAAAAthZG1pbl9wdWJfMQAAAAANa0FkbWluUHViS2V5MgIAAAALYWRtaW5fcHViXzIAAAAADWtBZG1pblB1YktleTMCAAAAC2FkbWluX3B1Yl8zAAAAABJrQWRtaW5JbnZva2VQdWJLZXkCAAAAEGFkbWluX2ludm9rZV9wdWIAAAAAC2tHb3ZBZGRyZXNzAgAAABJnb3Zlcm5hbmNlX2FkZHJlc3MAAAAADGtGYXJtQWRkcmVzcwIAAAAPZmFybWluZ19hZGRyZXNzAAAAAA9rU3VydmV5c0FkZHJlc3MCAAAAD3N1cnZleXNfYWRkcmVzcwAAAAAMYWRtaW5QdWJLZXkxCQEAAAATZ2V0QmFzZTU4RnJvbU9yYWNsZQAAAAEFAAAADWtBZG1pblB1YktleTEAAAAADGFkbWluUHViS2V5MgkBAAAAE2dldEJhc2U1OEZyb21PcmFjbGUAAAABBQAAAA1rQWRtaW5QdWJLZXkyAAAAAAxhZG1pblB1YktleTMJAQAAABNnZXRCYXNlNThGcm9tT3JhY2xlAAAAAQUAAAANa0FkbWluUHViS2V5MwAAAAALYWRtaW5JbnZva2UJAQAAABNnZXRCYXNlNThGcm9tT3JhY2xlAAAAAQUAAAASa0FkbWluSW52b2tlUHViS2V5AAAAABFnb3Zlcm5hbmNlQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCQEAAAATZ2V0QmFzZTU4RnJvbU9yYWNsZQAAAAEFAAAAC2tHb3ZBZGRyZXNzAAAAAA5mYXJtaW5nQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCQEAAAATZ2V0QmFzZTU4RnJvbU9yYWNsZQAAAAEFAAAADGtGYXJtQWRkcmVzcwAAAAAOc3VydmV5c0FkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQkBAAAAE2dldEJhc2U1OEZyb21PcmFjbGUAAAABBQAAAA9rU3VydmV5c0FkZHJlc3MAAAAAEWtleVByZWZpeFBvb2xOYW1lAgAAAAVwb29sXwAAAAAAAAAAkhIANg==", "height": 2276590, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6Jty8CeNV1gfDjamXt8d1QHkTcfENRZrq2FbUQYs7byh Next: HrL59jhyMdywjxtmgBVmeBWdmnHgymd1FTZ8fC2SDATD Diff:
OldNewDifferences
4848 let u = "pool_"
4949
5050
51-@Verifier(v)
52-func w () = {
53- let d = v
54- if ($isInstanceOf(d, "InvokeScriptTransaction"))
55- then {
56- let x = d
57- let y = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
58- then (x.function == "exchange")
59- else false
60- let z = if ((x.dApp == r))
61- then (x.function == "airDrop")
62- else false
63- let A = if ((x.dApp == r))
64- then (x.function == "updateWeights")
65- else false
66- let B = if ((x.dApp == s))
67- then (x.function == "updatePoolInterest")
68- else false
69- let C = (x.function == "takeIntoAccountExtraFunds")
70- let D = if ((x.dApp == t))
71- then (x.function == "writeTotals")
72- else false
73- let E = sigVerify(v.bodyBytes, v.proofs[0], q)
74- if (if (if (if (y)
75- then true
76- else z)
77- then (size(x.payments) == 1)
78- else false)
79- then true
80- else if (if (if (if (A)
81- then true
82- else B)
83- then true
84- else D)
85- then true
86- else C)
87- then (size(x.payments) == 0)
88- else false)
89- then E
90- else false
91- }
92- else {
93- let F = if (sigVerify(v.bodyBytes, v.proofs[0], n))
94- then 1
95- else 0
96- let G = if (sigVerify(v.bodyBytes, v.proofs[1], o))
97- then 1
98- else 0
99- let H = if (sigVerify(v.bodyBytes, v.proofs[2], p))
100- then 1
101- else 0
102- (((F + G) + H) >= 2)
103- }
104- }
105-
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
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
51-@Verifier(v)
52-func w () = {
53- let d = v
54- if ($isInstanceOf(d, "InvokeScriptTransaction"))
55- then {
56- let x = d
57- let y = if (isDefined(getString(a, (u + toString(addressFromRecipient(x.dApp))))))
58- then (x.function == "exchange")
59- else false
60- let z = if ((x.dApp == r))
61- then (x.function == "airDrop")
62- else false
63- let A = if ((x.dApp == r))
64- then (x.function == "updateWeights")
65- else false
66- let B = if ((x.dApp == s))
67- then (x.function == "updatePoolInterest")
68- else false
69- let C = (x.function == "takeIntoAccountExtraFunds")
70- let D = if ((x.dApp == t))
71- then (x.function == "writeTotals")
72- else false
73- let E = sigVerify(v.bodyBytes, v.proofs[0], q)
74- if (if (if (if (y)
75- then true
76- else z)
77- then (size(x.payments) == 1)
78- else false)
79- then true
80- else if (if (if (if (A)
81- then true
82- else B)
83- then true
84- else D)
85- then true
86- else C)
87- then (size(x.payments) == 0)
88- else false)
89- then E
90- else false
91- }
92- else {
93- let F = if (sigVerify(v.bodyBytes, v.proofs[0], n))
94- then 1
95- else 0
96- let G = if (sigVerify(v.bodyBytes, v.proofs[1], o))
97- then 1
98- else 0
99- let H = if (sigVerify(v.bodyBytes, v.proofs[2], p))
100- then 1
101- else 0
102- (((F + G) + H) >= 2)
103- }
104- }
105-

github/deemru/w8io/169f3d6 
40.42 ms