tx · 356sQahzvBgozx3ijCuH6SALVRhPtG9EzsZANw2hfpLd

3MqpRA12epGbUr77DaY49oG6vThLgDfYAqu:  -0.01000000 Waves

2022.06.02 14:18 [2078640] smart account 3MqpRA12epGbUr77DaY49oG6vThLgDfYAqu > SELF 0.00000000 Waves

{ "type": 13, "id": "356sQahzvBgozx3ijCuH6SALVRhPtG9EzsZANw2hfpLd", "fee": 1000000, "feeAssetId": null, "timestamp": 1654168733624, "version": 2, "chainId": 84, "sender": "3MqpRA12epGbUr77DaY49oG6vThLgDfYAqu", "senderPublicKey": "5zTdxm2C13mhCkkD8hK2mjmPyKaS4qvJ3iSNYSgDFUsZ", "proofs": [ "QGfjHE5CHazco3V3TBnp6cPH5f32JsNRAHZv1ErD7nJ6WBskHQJEtVU7tr3fMzjjbdWMTRyMbRkhLH5FwxS6acy" ], "script": "base64:AAIFAAAAAAAAAA4IAhIDCgEIEgUKAwgBAgAAAAoAAAAADGxvY2tpbmdTdG9yZQIAAAAMbG9ja2luZ1N0b3JlAQAAAARnZXRJAAAAAQAAAANrZXkJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAAARnZXRTAAAAAQAAAANrZXkJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AQAAAAVnZXRJVgAAAAEAAAADa2V5CQEAAAAFdmFsdWUAAAABCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQEAAAAFZ2V0U1YAAAABAAAAA2tleQkBAAAABXZhbHVlAAAAAQkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkBAAAACHdyaXRlSW50AAAAAgAAAANrZXkAAAAFdmFsdWUDCQAAZgAAAAIAAAAAAAAAAAAFAAAABXZhbHVlCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAF3dyaXRpbmcgbmVnYXRpdmUgdmFsdWUgCQABpAAAAAEFAAAABXZhbHVlAgAAAAkgZm9yIGtleSAFAAAAA2tleQkBAAAADEludGVnZXJFbnRyeQAAAAIFAA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AAAAMbG9ja2luZ1N0b3JlBQAAAA1wTG9ja2luZ1N0b3JlBQAAAANuaWwAAAABaQEAAAAQdHJhbnNmZXJJbnRlcmVzdAAAAAMAAAAEdXNlcgAAAAZhbW91bnQAAAAHYXNzZXRJRAQAAAAGY2hlY2tzCQEAAAAQbG9ja2luZ1N0b3JlT25seQAAAAEFAAAAAWkDCQAAAAAAAAIFAAAABmNoZWNrcwUAAAAGY2hlY2tzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABHVzZXIFAAAABmFtb3VudAUAAAAHYXNzZXRJRAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAAI3Eri", "height": 2078640, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8HLEwWkBP4ym9A2RGGSUNX8VjYswX2FLiBRkgtniDhTe Next: A7E4eiFKTSKsBWTKqZ18cWsJGHmN52HjNzABb6a29yV3 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "lockingStore"
55
66 func b (c) = getInteger(this, c)
77
88
99 func d (c) = getString(this, c)
1010
1111
1212 func e (c) = value(getInteger(this, c))
1313
1414
1515 func f (c) = value(getString(this, c))
1616
1717
1818 func g (c,h) = if ((0 > h))
1919 then throw(((("writing negative value " + toString(h)) + " for key ") + c))
2020 else IntegerEntry(c, h)
2121
2222
2323 func i (c,h) = if ((" " == h))
2424 then throw(("writing an empty string " + h))
2525 else StringEntry(c, h)
2626
2727
2828 func j (c,h) = if (!(isDefined(d(c))))
2929 then i(c, h)
3030 else throw(("already initialized: " + c))
3131
3232
3333 func k (c,h) = if (!(isDefined(d(c))))
3434 then g(c, h)
3535 else throw(("already initialized: " + c))
3636
3737
3838 func l (m) = if ((toString(m.caller) != valueOrElse(getString(this, a), "no store address")))
3939 then throw("only the staker contract can call this function")
4040 else true
4141
4242
4343 @Callable(m)
4444 func init (n) = [j(a, n)]
4545
4646
4747
4848 @Callable(m)
4949 func transferInterest (o,p,q) = {
5050 let r = l(m)
5151 if ((r == r))
5252 then [ScriptTransfer(addressFromStringValue(o), p, q)]
5353 else throw("Strict value is not equal to itself.")
5454 }
5555
5656

github/deemru/w8io/169f3d6 
25.23 ms