tx · 2WWAvn3YXGpRKjNtUerDTfDE5rgSqfaDhvim4R1kytqY

3MvuveAR1Z4LmsKiNvjDKDNdUwhRY1peZcX:  -0.01400000 Waves

2020.05.23 02:24 [1010145] smart account 3MvuveAR1Z4LmsKiNvjDKDNdUwhRY1peZcX > SELF 0.00000000 Waves

{ "type": 13, "id": "2WWAvn3YXGpRKjNtUerDTfDE5rgSqfaDhvim4R1kytqY", "fee": 1400000, "feeAssetId": null, "timestamp": 1590189844016, "version": 1, "sender": "3MvuveAR1Z4LmsKiNvjDKDNdUwhRY1peZcX", "senderPublicKey": "ATKvASNMrYVF14RZZmQE1XB1SEL2JSn7EVZMr9XcG4ho", "proofs": [ "4rAqP2UjTNYCfGTycc6Qiw7jZQy95DC7poT1vvx2j9aUpK7gerX5eSefdQFHZdLZgxfMAkTJtvYNEK8D1KatSFSj" ], "script": "base64:AAIDAAAAAAAAABEIARIHCgUICAgICBIECgIICAAAAAYAAAAABE5PTkUCAAAABG5vbmUAAAAACWFkbVB1YktleQEAAAAgjHesJPp5xIuoKzJYyBWRN6te3+eZKpca/z07LlUeq3IBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAADbnVtAQAAAAtnZXRTdHJCeUtleQAAAAEAAAADa2V5BAAAAANzdHIEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEFAAAABE5PTkUFAAAAA3N0cgEAAAANZ2V0U2VjdXJlSGFzaAAAAAEAAAADa2V5CQACWAAAAAEJAAH1AAAAAQkAAfYAAAABCQABmwAAAAEFAAAAA2tleQEAAAAL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Prev: EbUncTbqSj4FkzKbEmkUh6WGVPgoFEykxdwCM2VEZEf2 Next: 31X97VH8cQuaeWheH8NXKBYNZLaS2E6HVizTHWvTJhk1 Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "none"
55
6-let b = base58'5xiFtrMoXunfGTJwkeA26uAcy2ByUajvA7WQ7xNNSa8b'
6+let b = base58'ATKvASNMrYVF14RZZmQE1XB1SEL2JSn7EVZMr9XcG4ho'
77
88 func c (d) = {
99 let e = {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "none"
55
6-let b = base58'5xiFtrMoXunfGTJwkeA26uAcy2ByUajvA7WQ7xNNSa8b'
6+let b = base58'ATKvASNMrYVF14RZZmQE1XB1SEL2JSn7EVZMr9XcG4ho'
77
88 func c (d) = {
99 let e = {
1010 let f = getInteger(this, d)
1111 if ($isInstanceOf(f, "Int"))
1212 then {
1313 let g = f
1414 g
1515 }
1616 else 0
1717 }
1818 e
1919 }
2020
2121
2222 func h (d) = {
2323 let i = {
2424 let f = getString(this, d)
2525 if ($isInstanceOf(f, "String"))
2626 then {
2727 let g = f
2828 g
2929 }
3030 else a
3131 }
3232 i
3333 }
3434
3535
3636 func j (d) = toBase58String(keccak256(blake2b256(toBytes(d))))
3737
3838
3939 func k (l,m) = {
4040 let n = extract(l)
4141 if ((isDefined(n) == false))
4242 then throw("You need pay at least 2 waves for this operation")
4343 else if (if ((isDefined(extract(n.assetId)) == true))
4444 then true
4545 else ((2000000 * (m + 1)) >= n.amount))
4646 then throw("Need at least 2 Waves for auth change password")
4747 else TransferSet([ScriptTransfer(addressFromStringValue("3MpBUJbYZVA8iwoesCYaSytA82dVPyzVpmW"), 15000000, n.assetId)])
4848 }
4949
5050
5151 @Callable(o)
5252 func addOp (p,q,r,s,t) = {
5353 let u = toBase58String(o.callerPublicKey)
5454 let v = j(p)
5555 let w = j(q)
5656 if ((u != toBase58String(b)))
5757 then throw("Not auth to add operator")
5858 else if ((h(v) != a))
5959 then throw("This operator already added")
6060 else if ((addressFromPublicKey(o.callerPublicKey) != this))
6161 then k(o.payment, 5)
6262 else if ((sigVerify(toBytes((p + q)), fromBase58String(s), fromBase58String(u)) == false))
6363 then throw("Sign not verified")
6464 else WriteSet([DataEntry(v, w), DataEntry((v + "_opKey"), r), DataEntry((v + "_opId"), toBase58String(o.transactionId)), DataEntry((v + "_opLevel"), t), DataEntry((v + "_opAuth"), ("Allow,0," + toString(lastBlock.height)))])
6565 }
6666
6767
6868
6969 @Callable(o)
7070 func resetOp (p,x) = {
7171 let u = toBase58String(o.callerPublicKey)
7272 let n = extract(o.payment)
7373 let v = j(p)
7474 if ((h(v) == a))
7575 then throw("This operator does not exist")
7676 else {
7777 let y = split(h((v + "_opAuth")), ",")
7878 if (((h(v) + "_opKey") != u))
7979 then k(extract(o.payment), parseIntValue(y[1]))
8080 else if ((parseIntValue(y[2]) >= height))
8181 then throw((("There is already a request delivered to your email, wait " + toString((parseIntValue(y[2]) - height))) + " minutes"))
8282 else if (if (if ((y[0] == "Allow"))
8383 then true
8484 else (y[0] != "Recovery"))
8585 then if ((y[0] != "Allow"))
8686 then true
8787 else (y[0] == "Recovery")
8888 else false)
8989 then throw("Request not allowed")
9090 else if ((y[0] == "Recovery"))
9191 then {
9292 let z = parseIntValue(y[1])
9393 WriteSet([DataEntry((v + "_opAuth"), ((("Recovery," + toString((z + 1))) + ",") + toString((lastBlock.height + (z * 60)))))])
9494 }
9595 else WriteSet([DataEntry(v, x), DataEntry((v + "_opAuth"), ("Recovery,1," + toString((lastBlock.height + 60))))])
9696 }
9797 }
9898
9999

github/deemru/w8io/026f985 
26.40 ms