tx · 6ezSoAdLLYZLEpdAvqdRmfEBnadezGWoWgoFVgF3Hcj5

3MpQ7Dv9FfugVvQWf7kQnXU2sgY1SVYNiTX:  -0.01400000 Waves

2019.08.28 13:31 [650934] smart account 3MpQ7Dv9FfugVvQWf7kQnXU2sgY1SVYNiTX > SELF 0.00000000 Waves

{ "type": 13, "id": "6ezSoAdLLYZLEpdAvqdRmfEBnadezGWoWgoFVgF3Hcj5", "fee": 1400000, "feeAssetId": null, "timestamp": 1566988312368, "version": 1, "sender": "3MpQ7Dv9FfugVvQWf7kQnXU2sgY1SVYNiTX", "senderPublicKey": "Ceg4md8EkGfjJbqwKW2WvLZXFKxXSwVJ1EuGJ533QWq9", "proofs": [ "5bd1auGBeM177SvxdRs1Ye2898qi2qAHcN4UZBm1B6X7rRkU6RrG91joan4Kt818TBjJUEdKYVVU44BxJj6gdPKo" ], "script": "base64:AwQAAAAHUHViS2V5MQEAAAAgaQxxSAhSITOlMYdvwKcfK7u/x0yzOg/68EH0ax0QlWUEAAAAB1B1YktleTIBAAAAILb58FcZXTIbjEshMW6ayDB2XcNop87YatlbtNE8j6N0BAAAAARzaWcxAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAB1B1YktleTEAAAAAAAAAAAEAAAAAAAAAAAAEAAAABHNpZzIDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAHUHViS2V5MgAAAAAAAAAAAQAAAAAAAAAAAAkAAGYAAAACCQAAZAAAAAIFAAAABHNpZzEFAAAABHNpZzIAAAAAAAAAAADO+UOI", "chainId": 84, "height": 650934, "spentComplexity": 0 } View: original | compacted Prev: 28s8Lc7kSHdD7iLGxitbYGMq5XWHU5h23M7iTw7UKJeA Next: none Full:
OldNewDifferences
1-{-# STDLIB_VERSION 1 #-}
1+{-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let maxUserBalanse = 5000000000
4-let maxAmount = 1000000000
5-match tx {
6- case t: TransferTransaction =>
7- let amount = extract(t.amount)
8- let amountCorrect = (maxAmount >= amount)
9- let adress = extract(t.recipient)
10- let userBalance = wavesBalance(adress)
11- let balanceCorrect = (maxUserBalanse > userBalance)
12- let senderCorrect = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
13- if (if (amountCorrect)
14- then balanceCorrect
15- else false)
16- then senderCorrect
17- else false
18- case s: SetScriptTransaction =>
19- true
20- case _ =>
21- false
22-}
3+let PubKey1 = base58'854p8BYzrj6yBPRPmfQur3oF1Rjc1AJ548qRp5FT5kDa'
4+let PubKey2 = base58'DKGFPozLrsiR8NM4NJzqQaBYC8NyGYjuw2hDYicQVjco'
5+let sig1 = if (sigVerify(tx.bodyBytes, tx.proofs[0], PubKey1))
6+ then 1
7+ else 0
8+let sig2 = if (sigVerify(tx.bodyBytes, tx.proofs[1], PubKey2))
9+ then 1
10+ else 0
11+((sig1 + sig2) > 0)

github/deemru/w8io/026f985 
17.62 ms