tx · BnqPR3X9xTbEpPwhWhSvKoJ78myPNnKTUSpBNa1ot79k
3N2dQNYETZ6o7PDwYp1HHJoib5q1YQGJUG8: -0.01400000 Waves
2019.02.28 21:29 [515649] smart account 3N2dQNYETZ6o7PDwYp1HHJoib5q1YQGJUG8 > SELF 0.00000000 Waves
{
"type": 13,
"id": "BnqPR3X9xTbEpPwhWhSvKoJ78myPNnKTUSpBNa1ot79k",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1551378610163,
"version": 1,
"sender": "3N2dQNYETZ6o7PDwYp1HHJoib5q1YQGJUG8",
"senderPublicKey": "8kBvreX2AtAKDGqfbGjZAwtXaEezsbcmLmvWWGjhWKn6",
"proofs": [
"3iq1hJNaZHijYAacW8Wo3GHPXcoehGTxfbMnGmqeSu9DCiPZVLtQtKEX8DsjDzT39XvSskyBkh6Uj69riph5PQQk"
],
"script": "base64:AgQAAAAHJG1hdGNoMAUAAAACdHgGMAZGuQ==",
"chainId": 84,
"height": 515649,
"spentComplexity": 0
}
View: original | compacted
Prev: 4sJj927WyTh2tJNJXsJvyfAugxSssmz1GWRY8GCzDQiW
Next: 85zmgtvEqopEn4TrzWNqkfsd8pVy4iQqJ3sWAnAareV8
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 1 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let firstPublicKey = base58'9AzrRUYgk2Vh8B3SXQbz8kYWNbckt1bouxd6L2Bb66Rx' |
---|
4 | | - | let secondPublicKey = base58'4vp9pAQLkZB5Kq8SPbF8rAB9haj8qcSWPAZxFiAGwcvd' |
---|
5 | 3 | | match tx { |
---|
6 | | - | case tx: TransferTransaction => |
---|
7 | | - | let firstSignedFirst = if (sigVerify(tx.bodyBytes, tx.proofs[0], firstPublicKey)) |
---|
8 | | - | then 1 |
---|
9 | | - | else 0 |
---|
10 | | - | let secondSignedFirst = if (sigVerify(tx.bodyBytes, tx.proofs[0], secondPublicKey)) |
---|
11 | | - | then 1 |
---|
12 | | - | else 0 |
---|
13 | | - | let firstSignedSecond = if (sigVerify(tx.bodyBytes, tx.proofs[1], firstPublicKey)) |
---|
14 | | - | then 1 |
---|
15 | | - | else 0 |
---|
16 | | - | let secondSignedSecond = if (sigVerify(tx.bodyBytes, tx.proofs[1], secondPublicKey)) |
---|
17 | | - | then 1 |
---|
18 | | - | else 0 |
---|
19 | | - | ((((firstSignedFirst + secondSignedFirst) + firstSignedSecond) + secondSignedSecond) == 2) |
---|
20 | | - | case tx: SetScriptTransaction => |
---|
| 4 | + | case _ => |
---|
21 | 5 | | true |
---|
22 | | - | case _ => |
---|
23 | | - | false |
---|
24 | 6 | | } |
---|