tx · BFQqu43GsHhJXAC1gawQPu2x6bMK44Ga6P7uwmYB8svW

3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW:  -0.01400000 Waves

2020.03.12 13:28 [905815] smart account 3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW > SELF 0.00000000 Waves

{ "type": 13, "id": "BFQqu43GsHhJXAC1gawQPu2x6bMK44Ga6P7uwmYB8svW", "fee": 1400000, "feeAssetId": null, "timestamp": 1584008973318, "version": 1, "sender": "3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW", "senderPublicKey": "7wiL4SU2VfpuDUUtTqN4WrWXBp7awHtxk4BjkK1vYuSY", "proofs": [ "22ErHqqdETU7jbcKRVX43zztoHFHQnrxmTm6PzRrU8fKLP8pAvuGJyh1h7D4kxGB6fPYEKmRtqufoMQF3NPPMTs6" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAUAAAAABndhbGxldAEAAAAgZyo3NScvF56e9La2lYCsgs0dgVdeQU7xmJjRzUPPRkEAAAAACWFkbWluVXNlcgEAAAAghFnXNsQSGpUKiNBWUUMLCM69H3jgPMEiP2tt1KoPcB8AAAAACWZpcnN0VXNlcgEAAAAgus3oAx7rAKwFbifvvX9Cuhp5H1fmxWIEdw9/nhulPnwAAAAACnNlY29uZFVzZXIBAAAAINAB23rNl6282ZvbidJHrh9e2ik3LiKcGpm4DX1RScc+AAAAAAl0aGlyZFVzZXIBAAAAIO8qzfIkMXwSkWNuCK+WDSRH/fSIhiqySQgxm6QMo6R6AAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAADHdhbGxldFNpZ25lZAMDAwMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAGd2FsbGV0BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnM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1XX2PvLCEGn4thrX3qEVe6J6ekZJN Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let wallet = base58'7wiL4SU2VfpuDUUtTqN4WrWXBp7awHtxk4BjkK1vYuSY'
55
66 let adminUser = base58'9ueGkrW1TASrdthpEUTh9edK7tjp3kxNadNLjJrJAbJe'
77
88 let firstUser = base58'DaCwJuVWsUtbp2eWjEBhnA7qVYFjhsEpVcwR4anCei75'
99
1010 let secondUser = base58'EzySjsKeETYuxaz7vqchgVoKMdCnBLWqemcYFvamFPwT'
1111
1212 let thirdUser = base58'H6cJBczALxRg189W9bYh5vzHMYdQFbGL1X3YDQHPm68q'
1313
1414
1515 @Verifier(tx)
1616 func verify () = {
1717 let walletSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], wallet))
1818 then true
1919 else sigVerify(tx.bodyBytes, tx.proofs[1], wallet))
2020 then true
2121 else sigVerify(tx.bodyBytes, tx.proofs[2], wallet))
2222 then true
2323 else sigVerify(tx.bodyBytes, tx.proofs[3], wallet))
2424 then true
2525 else sigVerify(tx.bodyBytes, tx.proofs[4], wallet))
2626 then 1
2727 else 0
2828 let adminUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminUser))
2929 then true
3030 else sigVerify(tx.bodyBytes, tx.proofs[1], adminUser))
3131 then true
3232 else sigVerify(tx.bodyBytes, tx.proofs[2], adminUser))
3333 then true
3434 else sigVerify(tx.bodyBytes, tx.proofs[3], adminUser))
3535 then true
3636 else sigVerify(tx.bodyBytes, tx.proofs[4], adminUser))
3737 then 1
3838 else 0
3939 let firstUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
4040 then true
4141 else sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
4242 then true
4343 else sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
4444 then true
4545 else sigVerify(tx.bodyBytes, tx.proofs[3], firstUser))
4646 then true
4747 else sigVerify(tx.bodyBytes, tx.proofs[4], firstUser))
4848 then 1
4949 else 0
5050 let secondUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
5151 then true
5252 else sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
5353 then true
5454 else sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
5555 then true
5656 else sigVerify(tx.bodyBytes, tx.proofs[3], secondUser))
5757 then true
5858 else sigVerify(tx.bodyBytes, tx.proofs[4], secondUser))
5959 then 1
6060 else 0
6161 let thirdUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
6262 then true
6363 else sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
6464 then true
6565 else sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
6666 then true
6767 else sigVerify(tx.bodyBytes, tx.proofs[3], thirdUser))
6868 then true
6969 else sigVerify(tx.bodyBytes, tx.proofs[4], thirdUser))
7070 then 1
7171 else 0
7272 match tx {
7373 case e: Order|ExchangeTransaction =>
7474 true
7575 case d: SetAssetScriptTransaction|DataTransaction|ReissueTransaction|CreateAliasTransaction|IssueTransaction|SetScriptTransaction =>
7676 if (sigVerify(tx.bodyBytes, tx.proofs[0], adminUser))
7777 then true
7878 else sigVerify(tx.bodyBytes, tx.proofs[1], adminUser)
7979 case t: TransferTransaction =>
8080 let signCount = if (isDefined(t.assetId))
8181 then 1
8282 else 4
8383 (((((walletSigned + adminUserSigned) + firstUserSigned) + secondUserSigned) + thirdUserSigned) >= signCount)
8484 case b: BurnTransaction =>
8585 if (sigVerify(tx.bodyBytes, tx.proofs[0], wallet))
8686 then true
8787 else sigVerify(tx.bodyBytes, tx.proofs[1], wallet)
8888 case _ =>
8989 false
9090 }
9191 }
9292

github/deemru/w8io/026f985 
30.22 ms