tx · 6bLZ7Jz45owqa2pmzXcE7Y8kibHqnVs8DTrK4NKe3pEZ

3MsKriufAGn3VF6dwkEP3TFutJzZoRwMe5H:  -0.00500000 Waves

2022.06.21 00:49 [2105270] smart account 3MsKriufAGn3VF6dwkEP3TFutJzZoRwMe5H > SELF 0.00000000 Waves

{ "type": 13, "id": "6bLZ7Jz45owqa2pmzXcE7Y8kibHqnVs8DTrK4NKe3pEZ", "fee": 500000, "feeAssetId": null, "timestamp": 1655761797498, "version": 2, "chainId": 84, "sender": "3MsKriufAGn3VF6dwkEP3TFutJzZoRwMe5H", "senderPublicKey": "B2FG1C26kvgpvEBqcXBVBvhZKnshzPbFgwyzQKTrpKEM", "proofs": [ "KWnaGCbTxvfH3xUrSi1HvEjGhGbiutpS6cme5Cmprp9friR7CXcfzBvMPYzBQvqcRq23pQ4U8NVb8GiXY8amuYW" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAFb3duZXIBAAAAIJTmkol6s9vaBGMLBOt8XjBSaX68Np6p3BZOtV/SRco2AAAAAAZ3b3JrZXIBAAAAIPiadeNjKqgJa46xsQJijzl+xe23ylZneulbVnVv7+98AQAAAAhnZXRDbGljawAAAAAEAAAAByRtYXRjaDAJAAQfAAAAAQIAAAAFY2xpY2sDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABdAUAAAAHJG1hdGNoMAUAAAABdAAAAAAAAAAAAAAAAAEAAAABaQEAAAAHZGVwb3NpdAAAAAADAwkBAAAAAiE9AAAAAggFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BQAAAAVvd25lcgYJAQAAAAIhPQAAAAIIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQUAAAAGd29ya2VyCQAAAgAAAAECAAAAJlNvcnJ5LCBQcml2YXRlIEZhcm0uIEFjY2VzcyBwcm9oaWJpdGVkCQAAAgAAAAECAAAADFdlbGNvbWUgbWFuIQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5iJpjnw==", "height": 2105270, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CE1PMLssYx7dijVs3mUvcFtXi9qX7goRC1yV9PA4b5CP Next: V63qzhA71V4r5FMh5bgmpsZgeYXAZ1UhYdY5y8WKK42 Diff:
OldNewDifferences
1414
1515
1616 @Callable(i)
17-func stake () = [IntegerEntry("click", (getClick() + 1))]
17+func deposit () = if (if ((i.callerPublicKey != owner))
18+ then true
19+ else (i.callerPublicKey != worker))
20+ then throw("Sorry, Private Farm. Access prohibited")
21+ else throw("Welcome man!")
1822
1923
2024 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let owner = base58'B2FG1C26kvgpvEBqcXBVBvhZKnshzPbFgwyzQKTrpKEM'
55
66 let worker = base58'HjSiTEXxQMmyjXArjHL61YKF1TbUmz6b1Wx7rR3NfJcj'
77
88 func getClick () = match getInteger("click") {
99 case t: Int =>
1010 t
1111 case _ =>
1212 0
1313 }
1414
1515
1616 @Callable(i)
17-func stake () = [IntegerEntry("click", (getClick() + 1))]
17+func deposit () = if (if ((i.callerPublicKey != owner))
18+ then true
19+ else (i.callerPublicKey != worker))
20+ then throw("Sorry, Private Farm. Access prohibited")
21+ else throw("Welcome man!")
1822
1923
2024 @Verifier(tx)
2125 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2226

github/deemru/w8io/169f3d6 
37.79 ms