tx · 6VaGJzaLoY7K7qsyNwq1yz1vq3UAqVFrv6qnn8KxYWq7

3MqpRA12epGbUr77DaY49oG6vThLgDfYAqu:  -0.01000000 Waves

2022.06.02 03:45 [2078003] smart account 3MqpRA12epGbUr77DaY49oG6vThLgDfYAqu > SELF 0.00000000 Waves

{ "type": 13, "id": "6VaGJzaLoY7K7qsyNwq1yz1vq3UAqVFrv6qnn8KxYWq7", "fee": 1000000, "feeAssetId": null, "timestamp": 1654130783955, "version": 2, "chainId": 84, "sender": "3MqpRA12epGbUr77DaY49oG6vThLgDfYAqu", "senderPublicKey": "5zTdxm2C13mhCkkD8hK2mjmPyKaS4qvJ3iSNYSgDFUsZ", "proofs": [ "zZxCx8zb8oYzD63FbEms7u5t9insHG6ursG3xVn7WGZTojveBtaubMc6QFgRnQ57fVafWTpLZXpxvQK9KraEqca" ], "script": "base64:AAIFAAAAAAAAAA4IAhIDCgEIEgUKAwgBAgAAAAoAAAAADGxvY2tpbmdTdG9yZQIAAAAMbG9ja2luZ1N0b3JlAQAAAARnZXRJAAAAAQAAAANrZXkJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAAARnZXRTAAAAAQAAAANrZXkJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAAAVnZXRJVgAAAAEAAAADa2V5CQEAAAAFdmFsdWUAAAABCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAFZ2V0U1YAAAABAAAAA2tleQkBAAAABXZhbHVlAAAAAQkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkBAAAACHdyaXRlSW50AAAAAgAAAANrZXkAAAAFdmFsdWUDCQAAZgAAAAIAAAAAAAAAAAAFAAAABXZhbHVlCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAF3dyaXRpbmcgbmVnYXRpdmUgdmFsdWUgCQABpAAAAAEFAAAABXZhbHVlAgAAAAkgZm9yIGtleSAFAAAAA2tleQkBAAAADEludGVnZXJFbnRyeQAAA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AAAgUAAAAMbG9ja2luZ1N0b3JlBQAAAA1wTG9ja2luZ1N0b3JlBQAAAANuaWwAAAABaQEAAAAQdHJhbnNmZXJJbnRlcmVzdAAAAAMAAAAEdXNlcgAAAAZhbW91bnQAAAAHYXNzZXRJRAQAAAAGY2hlY2tzCQEAAAAQbG9ja2luZ1N0b3JlT25seQAAAAEFAAAAAWkDCQAAAAAAAAIFAAAABmNoZWNrcwUAAAAGY2hlY2tzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABHVzZXIFAAAABmFtb3VudAUAAAAHYXNzZXRJRAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAAI3Eri", "height": 2078003, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: fhqpcfiB5g4n7KPn3yQ7GXSyLdik54Vs7ZowXpGtz1z Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "lockingStore"
5+
6+func b (c) = getInteger(this, c)
7+
8+
9+func d (c) = getString(this, c)
10+
11+
12+func e (c) = value(getInteger(this, c))
13+
14+
15+func f (c) = value(getString(this, c))
16+
17+
18+func g (c,h) = if ((0 > h))
19+ then throw(((("writing negative value " + toString(h)) + " for key ") + c))
20+ else IntegerEntry(c, h)
21+
22+
23+func i (c,h) = if ((" " == h))
24+ then throw(("writing an empty string " + h))
25+ else StringEntry(c, h)
26+
27+
28+func j (c,h) = if (!(isDefined(d(c))))
29+ then i(c, h)
30+ else throw(("already initialized: " + c))
31+
32+
33+func k (c,h) = if (!(isDefined(d(c))))
34+ then g(c, h)
35+ else throw(("already initialized: " + c))
36+
37+
38+func l (m) = if ((toString(m.caller) != valueOrElse(getString(this, a), "no store address")))
39+ then throw("only the staker contract can call this function")
40+ else true
41+
42+
43+@Callable(m)
44+func init (n) = [j(a, n)]
45+
46+
47+
48+@Callable(m)
49+func transferInterest (o,p,q) = {
50+ let r = l(m)
51+ if ((r == r))
52+ then [ScriptTransfer(addressFromStringValue(o), p, q)]
53+ else throw("Strict value is not equal to itself.")
54+ }
55+
56+

github/deemru/w8io/169f3d6 
17.07 ms