tx · EamnWKRvkfWrhRiMQHrj2KcXrWr2Q2979N1Sk8Wusqcx

3N1ck7kc9gv3MMsAfLUBxGbPbDjQp9KorsK:  -0.10000000 Waves

2022.06.04 02:03 [2080803] smart account 3N1ck7kc9gv3MMsAfLUBxGbPbDjQp9KorsK > SELF 0.00000000 Waves

{ "type": 13, "id": "EamnWKRvkfWrhRiMQHrj2KcXrWr2Q2979N1Sk8Wusqcx", "fee": 10000000, "feeAssetId": null, "timestamp": 1654297556883, "version": 2, "chainId": 84, "sender": "3N1ck7kc9gv3MMsAfLUBxGbPbDjQp9KorsK", "senderPublicKey": "HiJ3uFkbVp87z5kzFCdZQ6uous6Se4iEJ9ja789dTwpS", "proofs": [ "4V2aUDF3sJWQzhiGUeTWekH4fNm6RpMRHfbg1JD47Uj5EK4VridmtskuycCZTR27oLMHj7jro4RbhrZvX3RVBWfB" ], "script": "base64:AAIFAAAAAAAAABkIAhIECgIICBIDCgEIEgMKAQgSBQoDCAECAAAADAAAAAAMbG9ja2luZ1N0b3JlAgAAAAZzdGFrZXIAAAAABWFkbWluAgAAAAVhZG1pbgEAAAAEZ2V0SQAAAAEAAAADa2V5CQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAEZ2V0UwAAAAEAAAADa2V5CQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAFZ2V0SVYAAAABAAAAA2tleQkBAAAABXZhbHVlAAAAAQkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkBAAAABWdldFNWAAAAAQAAAANrZXkJAQAAAAV2YWx1ZQAAAAEJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAAAh3cml0ZUludAAAAAIAAAADa2V5AAAABXZhbHVlAwkAAGYAAAACAAAAAAAAAAAABQAAAAV2YWx1ZQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAABd3cml0aW5nIG5lZ2F0aXZlIHZhbHVlIAkAAaQAAAABBQAAAAV2YWx1ZQIAAAAJIGZv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VxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAQdHJhbnNmZXJJbnRlcmVzdAAAAAMAAAAEdXNlcgAAAAZhbW91bnQAAAAHYXNzZXRJRAQAAAAGY2hlY2tzCQEAAAAQbG9ja2luZ1N0b3JlT25seQAAAAEFAAAAAWkDCQAAAAAAAAIFAAAABmNoZWNrcwUAAAAGY2hlY2tzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABHVzZXIFAAAABmFtb3VudAUAAAAHYXNzZXRJRAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAAqm1dM", "height": 2080803, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4QN4WJVAarQzXSH3LFGLohAWVpq8kPQsq7N85wyEr9ZT Next: 7x5MjnTDCKtjCXDbgbrZbrJkHFGnwLQgnKyCEPrvkrDs Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "staker"
55
66 let b = "admin"
77
88 func c (d) = getInteger(this, d)
99
1010
1111 func e (d) = getString(this, d)
1212
1313
1414 func f (d) = value(getInteger(this, d))
1515
1616
1717 func g (d) = value(getString(this, d))
1818
1919
2020 func h (d,i) = if ((0 > i))
2121 then throw(((("writing negative value " + toString(i)) + " for key ") + d))
2222 else IntegerEntry(d, i)
2323
2424
2525 func j (d,i) = if ((" " == i))
2626 then throw(("writing an empty string " + i))
2727 else StringEntry(d, i)
2828
2929
3030 func k (d,i) = if (!(isDefined(e(d))))
3131 then j(d, i)
3232 else throw(("already initialized: " + d))
3333
3434
3535 func l (d,i) = if (!(isDefined(e(d))))
3636 then h(d, i)
3737 else throw(("already initialized: " + d))
3838
3939
4040 func m (n) = if ((toString(n.caller) != valueOrElse(getString(this, a), "no store address")))
4141 then throw("only the staker contract can call this function")
4242 else true
4343
4444
4545 func o (n) = if ((toString(n.caller) != valueOrElse(getString(this, b), "no admin defined")))
4646 then throw("only an admin can call this function")
4747 else true
4848
4949
5050 @Callable(n)
5151 func init (p,q) = [k(a, p), k(b, q)]
5252
5353
5454
5555 @Callable(n)
5656 func removeLockingStore (r) = {
5757 let s = o(n)
5858 if ((s == s))
5959 then [DeleteEntry(a)]
6060 else throw("Strict value is not equal to itself.")
6161 }
6262
6363
6464
6565 @Callable(n)
6666 func updateLockingStore (r) = {
6767 let s = o(n)
6868 if ((s == s))
6969 then [DeleteEntry(a), k(a, r)]
7070 else throw("Strict value is not equal to itself.")
7171 }
7272
7373
7474
7575 @Callable(n)
7676 func transferInterest (t,u,v) = {
7777 let s = m(n)
7878 if ((s == s))
7979 then [ScriptTransfer(addressFromStringValue(t), u, v)]
8080 else throw("Strict value is not equal to itself.")
8181 }
8282
8383

github/deemru/w8io/169f3d6 
31.40 ms