tx · A6kYjQjZ9idRwfHhNiouVTRzi2XHEgoDAWQQAikPg4Zt

3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW:  -0.01400000 Waves

2020.03.10 17:23 [903152] smart account 3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW > SELF 0.00000000 Waves

{ "type": 13, "id": "A6kYjQjZ9idRwfHhNiouVTRzi2XHEgoDAWQQAikPg4Zt", "fee": 1400000, "feeAssetId": null, "timestamp": 1583850208654, "version": 1, "sender": "3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW", "senderPublicKey": "7wiL4SU2VfpuDUUtTqN4WrWXBp7awHtxk4BjkK1vYuSY", "proofs": [ "5Gr4Lku1rnCdpPaYQLA4LZf2UwjpDTDRV5QTuYnVWJe2r8e8xHUynqSDtzzGSBGdQ6nkhLddPoW3jSSZugUbhKux" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAUAAAAABndhbGxldAEAAAAgZyo3NScvF56e9La2lYCsgs0dgVdeQU7xmJjRzUPPRkEAAAAACWFkbWluVXNlcgEAAAAghFnXNsQSGpUKiNBWUUMLCM69H3jgPMEiP2tt1KoPcB8AAAAACWZpcnN0VXNlcgEAAAAgXHjyTFotmbb6VSCkYAl3az9x7s7VQ+IhzTAYFFdfDzUAAAAACnNlY29uZFVzZXIBAAAAICXXatLXfc9PWvPdUk9w2ET0B2yb+voFChId12ywhaFuAAAAAAl0aGlyZFVzZXIBAAAAINAB23rNl6282ZvbidJHrh9e2ik3LiKcGpm4DX1RScc+AAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAADHdhbGxldFNpZ25lZAMDAwMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAGd2FsbGV0BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9v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UAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAABndhbGxldAfWELKk", "chainId": 84, "height": 903152, "spentComplexity": 0 } View: original | compacted Prev: DNFVQDqfq1f7amq57QTm5v9Xo2ALojjjXXcqftwxBqk Next: 33fnkTsQvr7GUU11rJG2whQFbYZXkfeyuLhkka49BCps Diff:
OldNewDifferences
7070 then 1
7171 else 0
7272 match tx {
73- case e: ExchangeTransaction =>
74- true
75- case o: Order =>
76- true
73+ case e: Order|ExchangeTransaction =>
74+ (((((walletSigned + adminUserSigned) + firstUserSigned) + secondUserSigned) + thirdUserSigned) >= 1)
7775 case d: SetAssetScriptTransaction|DataTransaction|ReissueTransaction|CreateAliasTransaction|IssueTransaction|SetScriptTransaction =>
7876 if (sigVerify(tx.bodyBytes, tx.proofs[0], adminUser))
7977 then true
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'7DyUV76S6XpwViiwEuPZXwtZfuWAMFBmyDTLsUfwfd2U'
99
1010 let secondUser = base58'3YibrbpcmutPYtjQRjL9HHNXm7D7xmVQrvuZsZ16GBsB'
1111
1212 let thirdUser = base58'EzySjsKeETYuxaz7vqchgVoKMdCnBLWqemcYFvamFPwT'
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 {
73- case e: ExchangeTransaction =>
74- true
75- case o: Order =>
76- true
73+ case e: Order|ExchangeTransaction =>
74+ (((((walletSigned + adminUserSigned) + firstUserSigned) + secondUserSigned) + thirdUserSigned) >= 1)
7775 case d: SetAssetScriptTransaction|DataTransaction|ReissueTransaction|CreateAliasTransaction|IssueTransaction|SetScriptTransaction =>
7876 if (sigVerify(tx.bodyBytes, tx.proofs[0], adminUser))
7977 then true
8078 else sigVerify(tx.bodyBytes, tx.proofs[1], adminUser)
8179 case t: TransferTransaction =>
8280 let signCount = if (isDefined(t.assetId))
8381 then 1
8482 else 4
8583 (((((walletSigned + adminUserSigned) + firstUserSigned) + secondUserSigned) + thirdUserSigned) >= signCount)
8684 case b: BurnTransaction =>
8785 if (sigVerify(tx.bodyBytes, tx.proofs[0], wallet))
8886 then true
8987 else sigVerify(tx.bodyBytes, tx.proofs[1], wallet)
9088 case _ =>
9189 false
9290 }
9391 }
9492

github/deemru/w8io/026f985 
31.39 ms