tx · 87sx8H5mLZPKezYVkj5nTSbiDh8333L7WoiW5wBgTCVS
3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy: -0.01400000 Waves
2019.07.01 13:22 [566189] smart account 3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy > SELF 0.00000000 Waves
{
"type": 13,
"id": "87sx8H5mLZPKezYVkj5nTSbiDh8333L7WoiW5wBgTCVS",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1561976523967,
"version": 1,
"sender": "3NCpyPuNzUaB7LFS4KBzwzWVnXmjur582oy",
"senderPublicKey": "57EFni8M1XesEurFh3c4jnpLExP2PCPd5TRrwMjePAT4",
"proofs": [
"3nV9tqq9UR4KgEjTiigB9VCW1tETvyf1meAGCTp8b4hYybZ1XCM3ANVQ2KybLpyXQPZqiP2ZHiFzEfaqyYaTMPv",
"7pVq8MVQpxCNdNfLonpExFzMkfveGMecLQNy3uprsEcEc8kbZBdmid85nBiVuTWxsmKjWFhFeqY4ZRugCG4GaZ1"
],
"script": "base64:AwQAAAALZGlnaWxpcmFQYXkBAAAAIIGltNmBhtc4XZH/2xg8adPSYHrptRihKnbat0wWPcgRBAAAAA5vd25lclB1YmxpY0tleQEAAAAgPQc4UdhdikIHYLxGMNjybed0GVvxaKGhgvDW28dXCCsEAAAAC2Ftb3VudEFzc2V0AQAAACDxxvrFG5JwcuYFZsWKh60T1YYs1VV9xvmLRtjdLl04hAQAAAAQbWF0Y2hlclB1YmxpY0tleQEAAAAgZENC5dyn92h4fgBYAkpYC8zyl99PdkQp29M+pb3x3wIEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF3BQAAAAckbWF0Y2gwAwkAAAAAAAACCAUAAAABdwAAAAdhc3NldElkAQAAACDxxvrFG5JwcuYFZsWKh60T1YYs1VV9xvmLRtjdLl04hAYJAAACAAAAAQIAAAALTk9UIEFMTE9XRUQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAF0AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABdAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAC2RpZ2lsaXJhUGF5Bi6+Ybo=",
"chainId": 84,
"height": 566189,
"spentComplexity": 0
}
View: original | compacted
Prev: EQJmphwidzWWoXJ3XsaK351SsGwkbhHkzYrmiMhviZX8
Next: GC1zpV4VSzRH1FntLXqwxEutF2jtLVF5YYoXNyG9Y4bu
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let traderPublicKey = base58'9j69PY62YXTQrc4X5RKJ2KWc7DsYFC4mGcKUvChtq8Pi' |
---|
| 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 | | - | case t: TransferTransaction|SetScriptTransaction => |
---|
9 | | - | sigVerify(t.bodyBytes, t.proofs[0], traderPublicKey) |
---|
| 8 | + | case w: TransferTransaction => |
---|
| 9 | + | if ((w.assetId == base58'HGoEZAsEQpbA3DJyV9J3X1JCTTBuwUB6PE19g1kUYXsH')) |
---|
| 10 | + | then true |
---|
| 11 | + | else throw("NOT ALLOWED") |
---|
| 12 | + | case t: SetScriptTransaction => |
---|
| 13 | + | sigVerify(t.bodyBytes, t.proofs[0], digiliraPay) |
---|
10 | 14 | | case _ => |
---|
11 | 15 | | true |
---|
12 | 16 | | } |
---|