tx · 6gehfka88TSmLh64AfVbjL51yZQjxUcVFNojAZbUFi2r
3NB2jbJZo5pokBTW3c4aiat3w9LbSLCbGU3: -1.00400000 Waves
2019.11.09 11:36 [757206] smart asset 3NB2jbJZo5pokBTW3c4aiat3w9LbSLCbGU3 > SELF 0 BBA Token 5
{
"type": 15,
"id": "6gehfka88TSmLh64AfVbjL51yZQjxUcVFNojAZbUFi2r",
"fee": 100400000,
"feeAssetId": null,
"timestamp": 1573288651574,
"version": 1,
"sender": "3NB2jbJZo5pokBTW3c4aiat3w9LbSLCbGU3",
"senderPublicKey": "D55uA65TM8azYFSfAKgf5mzRE1Do6r7bNchUFMUw4QFp",
"proofs": [
"636jPBVa7AxCrmY5bCAL5FW5CoREASyYULahrjbFDq748dYVbTwYxWXKnbfiBmtgewvdBa7QGvv3io5CTcFnhiMp"
],
"assetId": "4p71jCgmDVcv2J9HLrtEXRSE9UPNFfVwGg7nRh2f6r5r",
"script": "base64:AwQAAAAEZGFwcAkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM05CMmpiSlpvNXBva0JUVzNjNGFpYXQzdzlMYlNMQ2JHVTMEAAAABWFkbWluCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTkJEZ1I4aFU2Vzg2U3N0bjNFR2lkOGs5dXhrcWlKanhUNgQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAMDCQAAAAAAAAIIBQAAAAJ0eAAAAAZzZW5kZXIFAAAABGRhcHAGCQAAAAAAAAIIBQAAAAJ0eAAAAAZzZW5kZXIFAAAABWFkbWluBgkAAAIAAAABAgAAABlvbmx5IG93bmVyIGNhbiBzZW50IHRva2VuAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXMFAAAAByRtYXRjaDADAwkAAAAAAAACCAUAAAACdHgAAAAGc2VuZGVyBQAAAARkYXBwBgkAAAAAAAACCAUAAAACdHgAAAAGc2VuZGVyBQAAAAVhZG1pbgYJAAACAAAAAQIAAAAjb25seSBvd25lciBjYW4gaW52b2tlIG9yIHNldCBzY3JpcHQHqZvfLg==",
"chainId": 84,
"height": 757206,
"spentComplexity": 0
}
View: original | compacted
Prev: G2Qbb9ta77othrtSyM5WuFkhQjBFJN2JN974onCwjYq
Next: 6aDWAxZHoyd5VcDgKuLkqv7PDhq3XVuuyaeQ47Kgf6JY
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 | 6 | | case t: MassTransferTransaction|TransferTransaction => |
---|
7 | 7 | | if (if ((tx.sender == dapp)) |
---|
8 | 8 | | then true |
---|
9 | 9 | | else (tx.sender == admin)) |
---|
10 | 10 | | then true |
---|
11 | 11 | | else throw("only owner can sent token") |
---|
12 | 12 | | case s: InvokeScriptTransaction|SetAssetScriptTransaction => |
---|
13 | 13 | | if (if ((tx.sender == dapp)) |
---|
14 | 14 | | then true |
---|
15 | 15 | | else (tx.sender == admin)) |
---|
16 | 16 | | then true |
---|
17 | 17 | | else throw("only owner can invoke or set script") |
---|
18 | 18 | | case _ => |
---|
19 | 19 | | false |
---|
20 | 20 | | } |
---|