tx · 9L9WmGBrvH4WeuCRPP1b7oCBer89QsRQLuKbzoruPA1i

3N2SzPoeM3pAzZLx1dZeQMNc3bcsLQXNRDr:  -0.05000000 Waves

2023.10.06 13:40 [2786651] smart account 3N2SzPoeM3pAzZLx1dZeQMNc3bcsLQXNRDr > SELF 0.00000000 Waves

{ "type": 13, "id": "9L9WmGBrvH4WeuCRPP1b7oCBer89QsRQLuKbzoruPA1i", "fee": 5000000, "feeAssetId": null, "timestamp": 1696588907279, "version": 1, "sender": "3N2SzPoeM3pAzZLx1dZeQMNc3bcsLQXNRDr", "senderPublicKey": "6GPGNmJ6GPor1gEwVzEDQRwJ7mEUtiFEgNNqLf4JSpbp", "proofs": [ "2JSw6xoRx1MbmA5MQUZRpVpwNdtQVMpSyBw67GnnDAoN3b8wuAAdF6VjLJXtqwb1W9SB7HZxq62NT6EerzbRgNRG" ], "script": "base64:BgINCAISBAoCCAESAwoBCAkBEHdyaXRlQ29uc3RTdHJpbmcCA2tleQV2YWx1ZQMJAQEhAQkBCWlzRGVmaW5lZAEJAJ0IAgUEdGhpcwUDa2V5CQELU3RyaW5nRW50cnkCBQNrZXkFBXZhbHVlCQACAQkArAICAhVhbHJlYWR5IGluaXRpYWxpemVkOiAFA2tleQASY29uZmlnQWRkcmVzc1N0b3JlAgZjb25maWcADWNvbmZpZ0FkZHJlc3MJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkApggBCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUEdGhpcwUSY29uZmlnQWRkcmVzc1N0b3JlAiJ0cmVhc3VyeTogY29uZmlnIGFkZHJlc3Mgbm90IGZvdW5kAhZpbnZhbGlkIGNvbmZpZyBhZGRyZXNzAA12b3RpbmdSZXN1bHRzCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAKYIAQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCdCAIFDWNvbmZpZ0FkZHJlc3MCFmNvbnRyYWN0X3ZvdGluZ19yZXN1bHQCGW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ZXJpZnkABAdlbmFibGVkCQELdmFsdWVPckVsc2UCCQCbCAIFDWNvbmZpZ0FkZHJlc3MJAQ5vcEFsbG93ZWRTdG9yZQECE2dvdmVybmFuY2VfYXBwbHlfdHgGAwkBASEBBQdlbmFibGVkCQACAQIrdHggYXBwbGljYXRpb24gdGhyb3cgZ292ZXJuYW5jZSBub3QgZW5hYmxlZAQCaWQJANgEAQgFAnR4AmlkBAhieVZvdGluZwkAZwIFBkhFSUdIVAkBEUBleHRyTmF0aXZlKDEwNTApAgUNdm90aW5nUmVzdWx0cwkArAICCQCsAgIJAKwCAgIZcHJvcG9zYWxfYWxsb3dfYnJvYWRjYXN0XwkApQgBBQR0aGlzAgFfBQJpZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkGBQhieVZvdGluZ9qqoQk=", "chainId": 84, "height": 2786651, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func a (b,c) = if (!(isDefined(getString(this, b))))
5+ then StringEntry(b, c)
6+ else throw(("already initialized: " + b))
7+
8+
9+let d = "config"
10+
11+let e = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, d), "treasury: config address not found")), "invalid config address")
12+
13+let f = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(e, "contract_voting_result"), "no contract_voting_result")), "invalid contract_voting_result")
14+
15+let g = height
16+
17+func h (i) = (("op_" + i) + "_allowed")
18+
19+
20+func j (i) = invoke(e, "opAllowed", [i], nil)
21+
22+
23+let k = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(e, "contract_children"), "no childs_contract")), "invalid childs contract")
24+
25+let l = fromBase58String(valueOrErrorMessage(getString(e, "powerAssetId"), "pwr asset id not found"))
26+
27+@Callable(m)
28+func slash (n,o) = {
29+ let p = j("slash")
30+ if ((p == p))
31+ then if ((m.caller != this))
32+ then throw("denied")
33+ else {
34+ let q = invoke(k, "slash", [n, o], nil)
35+ if ((q == q))
36+ then nil
37+ else throw("Strict value is not equal to itself.")
38+ }
39+ else throw("Strict value is not equal to itself.")
40+ }
41+
42+
43+
44+@Callable(m)
45+func init (r) = [a(d, r)]
46+
47+
48+@Verifier(s)
49+func t () = {
50+ let u = valueOrElse(getBoolean(e, h("governance_apply_tx")), true)
51+ if (!(u))
52+ then throw("tx application throw governance not enabled")
53+ else {
54+ let v = toBase58String(s.id)
55+ let w = (g >= getIntegerValue(f, ((("proposal_allow_broadcast_" + toString(this)) + "_") + v)))
56+ if (sigVerify(s.bodyBytes, s.proofs[0], s.senderPublicKey))
57+ then true
58+ else w
59+ }
60+ }
61+

github/deemru/w8io/169f3d6 
13.42 ms