tx · 8Meps3iCGHiJDuR6VvknXuRaRA6Lqjgj77YKXe8rEScS

3Mu3rHXsZEzEFRmstTmo2ibxjvaHNd4hU6t:  -0.01400000 Waves

2022.05.27 07:33 [2069605] smart account 3Mu3rHXsZEzEFRmstTmo2ibxjvaHNd4hU6t > SELF 0.00000000 Waves

{ "type": 13, "id": "8Meps3iCGHiJDuR6VvknXuRaRA6Lqjgj77YKXe8rEScS", "fee": 1400000, "feeAssetId": null, "timestamp": 1653625988746, "version": 2, "chainId": 84, "sender": "3Mu3rHXsZEzEFRmstTmo2ibxjvaHNd4hU6t", "senderPublicKey": "Cn7Ky2YAx4p6dx8e7Mcb9rTQ2Z5TD9MrRbLA8AXDsumJ", "proofs": [ "YC1x95HAw4Ei9sVYpL4QNphWGfjEW96Gk9V5eZ9uy4CFcv8GNx4EcpNHJqTX6wWbEXHEisKDpop4LHJAYR159eh" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAABQAAAAAFdG9rZW4BAAAAINtNgzVkRxuW758ML6DPfdV5nZLo4Zs1D8E/zHsCcCkLAAAAAAVscFRDSQEAAAAg3B70TzZBBKfh+mamWmC/uVmxUVSt129z+oO8ang2OaUAAAAACWlzU3RvcHBlZAcAAAAACWtleVN0YWtlZAIAAAAJU1RBS0VEX0xQAAAAAAtrZXlDb21wb3VuZAIAAAAIQ09NUE9VTkQAAAABAAAAAWkBAAAAB2RlZmF1bHQAAAAABAAAAANwbXQJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAAAmFtCAUAAAADcG10AAAABmFtb3VudAMJAABnAAAAAgAAAAAAAAAAAAUAAAACYW0JAAACAAAAAQIAAAAXTmVnYXRpdmUgb3IgemVybyBhbW91bnQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAABXRva2VuCQAAAgAAAAECAAAADUludmFsaWQgdG9rZW4EAAAAAWMJAAP8AAAABAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVFlAJ5NrSynuvrGhDubcQLjPpI16DOu1DwIAAAAFc3Rha2UFAAAAA25pbAkABEwAAAACBQAAAANwbXQFAAAAA25pbAMJAAAAAAAAAgUAAAABYwUAAAABYwQAAAAHc2V0RGF0YQkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAACWtleVN0YWtlZAUAAAACYW0JAARMAAAAAgUAAAAHc2V0RGF0YQUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5Bn7zSg==", "height": 2069605, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6Hd7vkKp58BefPyNroyyapyrMGDQsWpBaBWUxhBLFKRj Next: 4yEFNrXitLRCPT7qGQUjxmcFdNua4vPiXREGixMd6vJD Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let token = base58'Fm4qczu6Pepz8KUhh3Heb6LeTVfpSMX5vvNgw3x764CS'
55
6-let lpTCI = base58'DKuHxDzSRjVW5MUhnHqPZDeztYcXvEzpAYNNLDWtb39c'
6+let lpTCI = base58'FpG53PqcPPUmMwjHd2SQrpLPMXYHUBpdoM1ynBbMzsAk'
77
88 let isStopped = false
99
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let token = base58'Fm4qczu6Pepz8KUhh3Heb6LeTVfpSMX5vvNgw3x764CS'
55
6-let lpTCI = base58'DKuHxDzSRjVW5MUhnHqPZDeztYcXvEzpAYNNLDWtb39c'
6+let lpTCI = base58'FpG53PqcPPUmMwjHd2SQrpLPMXYHUBpdoM1ynBbMzsAk'
77
88 let isStopped = false
99
1010 let keyStaked = "STAKED_LP"
1111
1212 let keyCompound = "COMPOUND"
1313
1414 @Callable(i)
1515 func default () = {
1616 let pmt = i.payments[0]
1717 let am = pmt.amount
1818 if ((0 >= am))
1919 then throw("Negative or zero amount")
2020 else if ((pmt.assetId != token))
2121 then throw("Invalid token")
2222 else {
2323 let c = invoke(Address(base58'3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz'), "stake", nil, [pmt])
2424 if ((c == c))
2525 then {
2626 let setData = IntegerEntry(keyStaked, am)
2727 [setData]
2828 }
2929 else throw("Strict value is not equal to itself.")
3030 }
3131 }
3232
3333
3434 @Verifier(tx)
3535 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3636

github/deemru/w8io/026f985 
37.68 ms