tx · EnUdqZqkRUpavPhskrMyU7ZqMgTWhet7gSRRWoXQtWeA
3N77n6W3kVcbJy1Zkik9KPvKhoxk2jPtJ6x: -1.00000000 Waves
2020.05.14 05:14 [997252] smart asset 3N77n6W3kVcbJy1Zkik9KPvKhoxk2jPtJ6x > SELF 0.00000000 LicTok
{
"type": 15,
"id": "EnUdqZqkRUpavPhskrMyU7ZqMgTWhet7gSRRWoXQtWeA",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1589422493628,
"version": 1,
"sender": "3N77n6W3kVcbJy1Zkik9KPvKhoxk2jPtJ6x",
"senderPublicKey": "BHhz2bN2XjpYsniW1owwkvdgxn2UfiPSQqUkWa3b3nxu",
"proofs": [
"2fuJcGr5pQPDGMDQYacdCVi6JVXg5V3pjEFwGUfe7Q3ATzaWt2M4KySuteuYNUTfjd1U8A1VKLKMCYt4Nw93kodM"
],
"assetId": "4VPwqmeY71Pzuqt8SeWue6Fjk7wN3ysvSq9axtbkGUUS",
"script": "base64:AwQAAAAFQlRDSWQBAAAAIGz6av/F7aqMC3+1KpPSogwvgoLbdHoEjFP7/RMfc6D/BAAAAAVFVEhJZAEAAAAgLiDD9uqKn4lRu7/oiBETNux+2MJCA3JlDVjNcyZCZYIEAAAABUxUQ0lkAQAAACD2HjZC05fd8lpYFSDuLA/aLUYGioA2kq5ViVmesMUsoQQAAAAFWkVDSWQBAAAAIKFSWtVJ1nG6w68fhsmSf+oPilocH5ikK3MGjsya/tVnBAAAAAZEQVNISWQBAAAAIJVTIBcyx/f4MW1SqI21WdPP6/Jz7ZRxV+WdJufOh2rgBAAAAAVYTVJJZAEAAAAgQxj0G3VSMI+7+iJkvwQoTrekocmcbhiCndEGv8vAJAIEAAAABVVTRElkAQAAACDdHL0B8M91BTB4B7KotjiY0UXdXB+6M1rjQG/6Zllw/QQAAAAFRVVSSWQBAAAAIOwWYQRfe5EhQQY7N/Pn19T489PGDqqAl/OQv9D6FbqZBAAAAAVXQVZJZAEAAAAEE6vZMwQAAAATTGljZW5zZVRvVHJhZGVBc3NldAEAAAAgaZIxq8PEdjxWVuFmkjJXMeBL/IM07MAwE1Io+NPtYMUEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAMJAAAAAAAAAggICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAVXQVZJZAYJAABmAAAAAgkAA+sAAAACCAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIFAAAAE0xpY2Vuc2VUb1RyYWRlQXNzZXQAAAAAAAAAAAoGUwrD/Q==",
"chainId": 84,
"height": 997252,
"spentComplexity": 0
}
View: original | compacted
Prev: E1a6BYPWXLoitXaaB49joCrx86CQFqYehdxnzTU435Vt
Next: 4CJjFFo5wcw5EL5t8XSZw6rCDPBPPkTA9152PyPTk81A
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let BTCId = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS' |
---|
| 4 | + | let ETHId = base58'474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu' |
---|
| 5 | + | let LTCId = base58'HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk' |
---|
| 6 | + | let ZECId = base58'BrjUWjndUanm5VsJkbUip8VRYy6LWJePtxya3FNv4TQa' |
---|
| 7 | + | let DASHId = base58'B3uGHFRpSUuGEDWjqB9LWWxafQj8VTvpMucEyoxzws5H' |
---|
| 8 | + | let XMRId = base58'5WvPKSJXzVE2orvbkJ8wsQmmQKqTv9sGBPksV4adViw3' |
---|
| 9 | + | let USDId = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck' |
---|
| 10 | + | let EURId = base58'Gtb1WRznfchDnTh37ezoDTJ4wcoKaRsKqKjJjy7nm2zU' |
---|
| 11 | + | let WAVId = base58'WAVES' |
---|
3 | 12 | | let LicenseToTradeAsset = base58'8776yWFfzotyVY6jxsU7Ss4yEfKXcLA5Lucb8ceFQnMJ' |
---|
4 | 13 | | match tx { |
---|
5 | 14 | | case tx: ExchangeTransaction => |
---|
6 | | - | throw(((((((("sell " + toString(tx.sellOrder.sender)) + " ") + toString(tx.sellMatcherFee)) + " ") + toString(tx.buyMatcherFee)) + " buy ") + toString(tx.buyOrder.sender))) |
---|
| 15 | + | if ((tx.sellOrder.assetPair.priceAsset == WAVId)) |
---|
| 16 | + | then true |
---|
| 17 | + | else (assetBalance(tx.sellOrder.sender, LicenseToTradeAsset) > 10) |
---|
7 | 18 | | case _ => |
---|
8 | 19 | | true |
---|
9 | 20 | | } |
---|