tx · CnwLU8AS1u2XoBdXJ7rXVSG1yg78q9UyWnzYVHPPyQm4

3MycZLsosqanHTxLkiHqKyYYECzBjssqSmk:  -0.05000000 Waves

2022.05.20 19:03 [2060215] smart account 3MycZLsosqanHTxLkiHqKyYYECzBjssqSmk > SELF 0.00000000 Waves

{ "type": 13, "id": "CnwLU8AS1u2XoBdXJ7rXVSG1yg78q9UyWnzYVHPPyQm4", "fee": 5000000, "feeAssetId": null, "timestamp": 1653062592427, "version": 2, "chainId": 84, "sender": "3MycZLsosqanHTxLkiHqKyYYECzBjssqSmk", "senderPublicKey": "D4dyMjKAuQNHUBbJs8ygZdsYar9CmF2X3uTXtMkH5F2e", "proofs": [ "gjVriJk7nL2HVioLweRDc6ix2aqcRHSiKRhWUJsVd141zR5VGCN1U1HtjESwf5HFStdy57pUYft62zVr2iYAnea" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAEVVNETgEAAAAgD/IcEqzkxDya7EYaqyWosOy6BytGzG2IcvC14pJJAbQAAAAABmV0VVNETgEAAAAgDYX0ECghlXnCpRueVLUITdJs62OWdYaQ++yMaV6po6gAAAAACGlzU3RvcGVkBwAAAAEAAAABaQEAAAAFc3Rha2UAAAAABAAAAANwbXQJAQAAAAV2YWx1ZQAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAAAmFtCAUAAAADcG10AAAABmFtb3VudAMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAAEVVNETgkAAAIAAAABAgAAAA1JbnZhbGlkIHRva2VuAwUAAAAIaXNTdG9wZWQJAAACAAAAAQIAAAAPZEFwcCBpcyBzdG9wcGVkBAAAAAV0b0lzcwkAAGgAAAACBQAAAAJhbQAAAAAAAAAAZAQAAAABcgkBAAAAB1JlaXNzdWUAAAADBQAAAAZldFVTRE4FAAAABXRvSXNzBgQAAAADdHJ4CQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABXRvSXNzBQAAAAZldFVTRE4JAARMAAAAAgUAAAABcgkABEwAAAACBQAAAAN0cngFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5dvYdwA==", "height": 2060215, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9qn8BFReWVFSvyUoraHFrUYms5G52PPDFN3v75UaVA6Q Next: none Diff:
OldNewDifferences
88 let c = false
99
1010 @Callable(d)
11-func deposit () = {
11+func stake () = {
1212 let e = value(d.payments[0])
1313 let f = e.amount
1414 if ((e.assetId != a))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
55
66 let b = base58'unmcHvw35UTWJEFybyRgiVmGyERnzpYbX9EvGMZrcL7'
77
88 let c = false
99
1010 @Callable(d)
11-func deposit () = {
11+func stake () = {
1212 let e = value(d.payments[0])
1313 let f = e.amount
1414 if ((e.assetId != a))
1515 then throw("Invalid token")
1616 else if (c)
1717 then throw("dApp is stopped")
1818 else {
1919 let g = (f * 100)
2020 let h = Reissue(b, g, true)
2121 let i = ScriptTransfer(d.caller, g, b)
2222 [h, i]
2323 }
2424 }
2525
2626
2727 @Verifier(j)
2828 func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
2929

github/deemru/w8io/169f3d6 
36.56 ms