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 isStoped = false
99
1010 @Callable(i)
11-func deposit () = {
11+func stake () = {
1212 let pmt = value(i.payments[0])
1313 let am = pmt.amount
1414 if ((pmt.assetId != USDN))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let USDN = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
55
66 let etUSDN = base58'unmcHvw35UTWJEFybyRgiVmGyERnzpYbX9EvGMZrcL7'
77
88 let isStoped = false
99
1010 @Callable(i)
11-func deposit () = {
11+func stake () = {
1212 let pmt = value(i.payments[0])
1313 let am = pmt.amount
1414 if ((pmt.assetId != USDN))
1515 then throw("Invalid token")
1616 else if (isStoped)
1717 then throw("dApp is stopped")
1818 else {
1919 let toIss = (am * 100)
2020 let r = Reissue(etUSDN, toIss, true)
2121 let trx = ScriptTransfer(i.caller, toIss, etUSDN)
2222 [r, trx]
2323 }
2424 }
2525
2626
2727 @Verifier(tx)
2828 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2929

github/deemru/w8io/169f3d6 
79.67 ms