tx · 36YhsNPUWVk6SQPEHQ4wcL6egVWfopZg9EKXMF6MdzC8
3MrFgpCLHd7sKHLbc28W4RKB1yD9Je18sWY: -0.01400000 Waves
2019.07.11 07:49 [580574] smart account 3MrFgpCLHd7sKHLbc28W4RKB1yD9Je18sWY > SELF 0.00000000 Waves
{
"type": 13,
"id": "36YhsNPUWVk6SQPEHQ4wcL6egVWfopZg9EKXMF6MdzC8",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1562820569567,
"version": 1,
"sender": "3MrFgpCLHd7sKHLbc28W4RKB1yD9Je18sWY",
"senderPublicKey": "94CFadf7WbyXXSJzjhvg1TjbbbvsuSEGEakD3umqRdye",
"proofs": [
"25qRLCGFyyGrPh1WW1a1tSG3fRyLEa1KxtjXSPBP9EbzbmbQePRuzidDHw7kxgEJnKouPG2c2UxUkt8vtFgiS4FW"
],
"script": "base64:AwQAAAAGU0lHTklkAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wQAAAAGU0lDQUlkAQAAACAbOOhah+Lz+CZbDv0Le0bPnpEI0oylm561AH3JOrup8gQAAAANc2VsbGVyQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVBmlZ3SROJproJm+eaQEZqAPZacAylw5MQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQEAAAACIT0AAAACCAgIBQAAAAF0AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAGU0lDQUlkBgMDCQAAAAAAAAIICAgFAAAAAXQAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAZTSUNBSWQJAAAAAAAAAggICAUAAAABdAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAZTSUdOSWQHCQAAAAAAAAIICAUAAAABdAAAAAlzZWxsT3JkZXIAAAAGc2VuZGVyBQAAAA1zZWxsZXJBZGRyZXNzBwbpyBVv",
"chainId": 84,
"height": 580574,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: AGFqNo2AnjJ6M1jdPDpHNHokyr8axC2XPyKA42f6spfG
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let SIGNId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' |
---|
| 4 | + | let SICAId = base58'2qGLZU2u7JDASt4fiqGFXKMrPo4h3xiLvotrFgUGVyvZ' |
---|
| 5 | + | let sellerAddress = Address(base58'3MrFgpCLHd7sKHLbc28W4RKB1yD9Je18sWY') |
---|
| 6 | + | match tx { |
---|
| 7 | + | case t: ExchangeTransaction => |
---|
| 8 | + | if ((t.sellOrder.assetPair.priceAsset != SICAId)) |
---|
| 9 | + | then true |
---|
| 10 | + | else if (if ((t.sellOrder.assetPair.priceAsset == SICAId)) |
---|
| 11 | + | then (t.sellOrder.assetPair.amountAsset == SIGNId) |
---|
| 12 | + | else false) |
---|
| 13 | + | then (t.sellOrder.sender == sellerAddress) |
---|
| 14 | + | else false |
---|
| 15 | + | case _ => |
---|
| 16 | + | true |
---|
| 17 | + | } |
---|