tx · ALHtDEsHWM8wcv4GCZSvBHo2MiwqL4FpM7mrWQQyCi6A
3NB2jbJZo5pokBTW3c4aiat3w9LbSLCbGU3: -1.00400000 Waves
2019.11.09 11:52 [757220] smart asset 3NB2jbJZo5pokBTW3c4aiat3w9LbSLCbGU3 > SELF 0 BBA Token 5
{
"type": 15,
"id": "ALHtDEsHWM8wcv4GCZSvBHo2MiwqL4FpM7mrWQQyCi6A",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1573289556919,
"version": 1,
"sender": "3NB2jbJZo5pokBTW3c4aiat3w9LbSLCbGU3",
"senderPublicKey": "D55uA65TM8azYFSfAKgf5mzRE1Do6r7bNchUFMUw4QFp",
"proofs": [
"DNyBHaSL8eMDABm2kRL7AqASDv97XFcVF1SWpEcZGi83QrdoXERdsa5NANTYLhbnEZTp8QVr2LsijoqVgUUqgtn"
],
"assetId": "4p71jCgmDVcv2J9HLrtEXRSE9UPNFfVwGg7nRh2f6r5r",
"script": "base64:AwQAAAAEZGFwcAkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM05CMmpiSlpvNXBva0JUVzNjNGFpYXQzdzlMYlNMQ2JHVTMEAAAABWFkbWluCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTkJEZ1I4aFU2Vzg2U3N0bjNFR2lkOGs5dXhrcWlKanhUNgQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAJ0eAAAAAZzZW5kZXIFAAAABGRhcHAGCQAAAAAAAAIIBQAAAAJ0eAAAAAZzZW5kZXIFAAAABWFkbWluB3fOusY=",
"chainId": 84,
"height": 757220,
"spentComplexity": 0
}
View: original | compacted
Prev: 6aDWAxZHoyd5VcDgKuLkqv7PDhq3XVuuyaeQ47Kgf6JY
Next: 3ZsWZytUmWgbNgYEfj8symXzT8qAKNZQBCsdZZTbXwi5
Diff:
Old | New | | Differences |
---|
3 | 3 | | let dapp = addressFromString("3NB2jbJZo5pokBTW3c4aiat3w9LbSLCbGU3") |
---|
4 | 4 | | let admin = addressFromString("3NBDgR8hU6W86Sstn3EGid8k9uxkqiJjxT6") |
---|
5 | 5 | | match tx { |
---|
6 | | - | case t: InvokeScriptTransaction|SetAssetScriptTransaction|MassTransferTransaction|TransferTransaction => |
---|
7 | | - | if (if ((tx.sender == dapp)) |
---|
| 6 | + | case t: SetAssetScriptTransaction|MassTransferTransaction|TransferTransaction => |
---|
| 7 | + | if ((tx.sender == dapp)) |
---|
8 | 8 | | then true |
---|
9 | | - | else (tx.sender == admin)) |
---|
10 | | - | then true |
---|
11 | | - | else throw("only issuer can do this") |
---|
| 9 | + | else (tx.sender == admin) |
---|
12 | 10 | | case _ => |
---|
13 | 11 | | false |
---|
14 | 12 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let dapp = addressFromString("3NB2jbJZo5pokBTW3c4aiat3w9LbSLCbGU3") |
---|
4 | 4 | | let admin = addressFromString("3NBDgR8hU6W86Sstn3EGid8k9uxkqiJjxT6") |
---|
5 | 5 | | match tx { |
---|
6 | | - | case t: InvokeScriptTransaction|SetAssetScriptTransaction|MassTransferTransaction|TransferTransaction => |
---|
7 | | - | if (if ((tx.sender == dapp)) |
---|
| 6 | + | case t: SetAssetScriptTransaction|MassTransferTransaction|TransferTransaction => |
---|
| 7 | + | if ((tx.sender == dapp)) |
---|
8 | 8 | | then true |
---|
9 | | - | else (tx.sender == admin)) |
---|
10 | | - | then true |
---|
11 | | - | else throw("only issuer can do this") |
---|
| 9 | + | else (tx.sender == admin) |
---|
12 | 10 | | case _ => |
---|
13 | 11 | | false |
---|
14 | 12 | | } |
---|