tx · G8rgVRWcTGKMtRPWNzfJzuX9xpG43aRmhxk9bgncKkAD
3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy: -0.01400000 Waves
2019.07.01 14:15 [566242] smart account 3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy > SELF 0.00000000 Waves
{
"type": 13,
"id": "G8rgVRWcTGKMtRPWNzfJzuX9xpG43aRmhxk9bgncKkAD",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1561979741404,
"version": 1,
"sender": "3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy",
"senderPublicKey": "57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4",
"proofs": [
"3zftXAKfMxNtjWv8jm2BEWFPi7WSBvTFHAvpZfcTo9kirvN31HWFMakkdYSjS4QWNSTvEkAzHSNY1dVvrTEfpfnY",
"2ST32rEmzQrjpidgAsy2hzTGHt2diF3uk8QRG2fA1mNN63bbUdJJ64bNRYrNt3Rk47Fe4w4vnqj6kPGRE2WNiL1"
],
"script": "base64:AwQAAAALZGlnaWxpcmFQYXkBAAAAIIGltNmBhtc4XZH/2xg8adPSYHrptRihKnbat0wWPcgRBAAAAA5vd25lclB1YmxpY0tleQEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEAAAAC2Ftb3VudEFzc2V0AQAAACDxxvrFG5JwcuYFZsWKh60T1YYs1VV9xvmLRtjdLl04hAQAAAAQbWF0Y2hlclB1YmxpY0tleQEAAAAgZENC5dyn92h4fgBYAkpYC8zyl99PdkQp29M+pb3x3wIEAAAAByRtYXRjaDAFAAAAAnR4AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXcFAAAAByRtYXRjaDADCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAAXcAAAAHYXNzZXRJZAYJAAACAAAAAQIAAAAPY2FudCBzZW5kIHdhdmVzAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAXQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAF0AAAABnByb29mcwAAAAAAAAAAAAUAAAALZGlnaWxpcmFQYXkGubUnFA==",
"chainId": 84,
"height": 566242,
"spentComplexity": 0
}
View: original | compacted
Prev: 8qttuFVFERg48RvMiPZPNgctfFgNyU4eYZ81JQLbXptQ
Next: 6T1aQmvuE7yFLqHGpkNvoSueoRzTqS5mnTrWmtu1vqnM
Diff:
Old | New | | Differences |
---|
6 | 6 | | let matcherPublicKey = base58'7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy' |
---|
7 | 7 | | match tx { |
---|
8 | 8 | | case w: MassTransferTransaction|BurnTransaction|TransferTransaction => |
---|
9 | | - | if ((w.assetId == base58'')) |
---|
10 | | - | then throw("NOT ALLOWED") |
---|
11 | | - | else true |
---|
| 9 | + | if (isDefined(w.assetId)) |
---|
| 10 | + | then true |
---|
| 11 | + | else throw("cant send waves") |
---|
12 | 12 | | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
13 | 13 | | sigVerify(t.bodyBytes, t.proofs[0], digiliraPay) |
---|
14 | 14 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let digiliraPay = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' |
---|
4 | 4 | | let ownerPublicKey = base58'57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4' |
---|
5 | 5 | | let amountAsset = base58'HGoEZAsEQpbA3DJyV9J3X1JCTTBuwUB6PE19g1kUYXsH' |
---|
6 | 6 | | let matcherPublicKey = base58'7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy' |
---|
7 | 7 | | match tx { |
---|
8 | 8 | | case w: MassTransferTransaction|BurnTransaction|TransferTransaction => |
---|
9 | | - | if ((w.assetId == base58'')) |
---|
10 | | - | then throw("NOT ALLOWED") |
---|
11 | | - | else true |
---|
| 9 | + | if (isDefined(w.assetId)) |
---|
| 10 | + | then true |
---|
| 11 | + | else throw("cant send waves") |
---|
12 | 12 | | case t: DataTransaction|ExchangeTransaction|SetScriptTransaction => |
---|
13 | 13 | | sigVerify(t.bodyBytes, t.proofs[0], digiliraPay) |
---|
14 | 14 | | case _ => |
---|
15 | 15 | | true |
---|
16 | 16 | | } |
---|