tx · Xx8ThuGheE37wuPrnJgA5mUToNmYqtCxmSch1LLMD6v
3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA: -0.01400000 Waves
2019.01.16 09:37 [452210] smart account 3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA > SELF 0.00000000 Waves
{
"type": 13,
"id": "Xx8ThuGheE37wuPrnJgA5mUToNmYqtCxmSch1LLMD6v",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1547620640692,
"version": 1,
"sender": "3Mqg7LwuHRY3GQjz8dbCFvHDQb33gWNFaSA",
"senderPublicKey": "Eu5ZUHQswbdySVdGsEw7y2MrKCJGPvjkFtyf1YVoJLfH",
"proofs": [
"55keTmHsrFU3TdiEcp74ttUxWcVKULuNgT84oJbxWwJqhM4jSnXuaRK9kMwZ9dGWSR8MigihCbgJEJHQRtUtKF7D"
],
"script": "base64:AQQAAAAFbG90dG8JAQAAAAdleHRyYWN0AAAAAQgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQQAAAAKbHVja3lCeXRlcwIAAAABYQQAAAAFdHhTaWcJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAFT3JkZXIEAAAAAW8FAAAAByRtYXRjaDADCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgFAAAAAW8AAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQDCQAAAAAAAAIIBQAAAAFvAAAABXByaWNlAAAAAAAAAAABCQAAAAAAAAIFAAAABXR4U2lnBgcJAAAAAAAAAgUAAAAFdHhTaWcGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABcwUAAAAHJG1hdGNoMAYJAAAAAAAAAgUAAAAFdHhTaWcGuvmEmQ==",
"chainId": 84,
"height": 452210,
"spentComplexity": 0
}
View: original | compacted
Prev: BNbZRNCQvYjoEHQidZzYpU2fA3FbVnTgmUNaMFyMFKAB
Next: 5xmAUFgsDpY4cwcs1ruZfxedaRAeESb5NvdncQtNZMMT
Diff:
Old | New | | Differences |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let lotto = extract(tx.senderPublicKey) |
---|
4 | 4 | | let luckyBytes = "a" |
---|
| 5 | + | let txSig = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
5 | 6 | | match tx { |
---|
6 | 7 | | case o: Order => |
---|
7 | 8 | | if (!(isDefined(o.assetPair.priceAsset))) |
---|
8 | 9 | | then if ((o.price == 1)) |
---|
9 | | - | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 10 | + | then (txSig == true) |
---|
10 | 11 | | else false |
---|
11 | | - | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 12 | + | else (txSig == true) |
---|
| 13 | + | case s: SetScriptTransaction => |
---|
| 14 | + | true |
---|
12 | 15 | | case _ => |
---|
13 | | - | true |
---|
| 16 | + | (txSig == true) |
---|
14 | 17 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let lotto = extract(tx.senderPublicKey) |
---|
4 | 4 | | let luckyBytes = "a" |
---|
| 5 | + | let txSig = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
5 | 6 | | match tx { |
---|
6 | 7 | | case o: Order => |
---|
7 | 8 | | if (!(isDefined(o.assetPair.priceAsset))) |
---|
8 | 9 | | then if ((o.price == 1)) |
---|
9 | | - | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 10 | + | then (txSig == true) |
---|
10 | 11 | | else false |
---|
11 | | - | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 12 | + | else (txSig == true) |
---|
| 13 | + | case s: SetScriptTransaction => |
---|
| 14 | + | true |
---|
12 | 15 | | case _ => |
---|
13 | | - | true |
---|
| 16 | + | (txSig == true) |
---|
14 | 17 | | } |
---|