tx · DSojgty6i8h5DFaA3pDRqWbUC5qA4iH5ddWJeBeLmEkA

3MvasVWNoyFQTenxtVJkcLRfcPshL6RiHB6:  -0.01400000 Waves

2022.01.10 16:56 [1872908] smart account 3MvasVWNoyFQTenxtVJkcLRfcPshL6RiHB6 > SELF 0.00000000 Waves

{ "type": 13, "id": "DSojgty6i8h5DFaA3pDRqWbUC5qA4iH5ddWJeBeLmEkA", "fee": 1400000, "feeAssetId": null, "timestamp": 1641822929801, "version": 2, "chainId": 84, "sender": "3MvasVWNoyFQTenxtVJkcLRfcPshL6RiHB6", "senderPublicKey": "HxtsXAKo7k2EM5vvWiqRJHGy6cSc8pxWDEpQJhVYJXsa", "proofs": [ "3uxESSs7G7Rqd1iLQZTRaqdKq9pWGo3VGduZn1izgLcqr55FeFdh11kzCpibAoKbG3fvDHyNdto9WRi49j7yUcva" ], "script": "base64:AAIEAAAAAAAAANwIAhoQCgFhEgthbGljZVB1YktleRoOCgFiEglib2JQdWJLZXkaDwoBYxIKZXJpY1B1YktleRoSCgFkEg1tdWx0aVNpZ0NvdW50Gg4KAWUSCWNoZWNrU2lnbhoHCgFmEgJ0eBoLCgFnEgZwdWJLZXkaFQoBaBIQZ2V0TXVsdGlTaWdWYWx1ZRoNCgFpEghhbGljZVNpZxoLCgFqEgZib2JTaWcaDAoBaxIHZXJpY1NpZxoLCgFsEgZ2ZXJpZnkaDAoBbRIHJG1hdGNoMBoGCgFuEgF0GgcKAW8SAnRkAAAABgAAAAABYQEAAAAg/AyWCccGbFQEbAH/hOzU/yaLPVbFrpTRou7V+5mu0kUAAAAAAWIBAAAAIPSxityAqF1o8NbAdYX5XBEpUlDy+lbYSuxhjio4jvETAAAAAAFjAQAAACByZp1UTTKFFX9H3nd0f2yNR2rdOVfV/zkMtuOrYVWONQAAAAABZAAAAAAAAAAAAgEAAAABZQAAAAIAAAABZgAAAAFnAwMDCQAB9AAAAAMIBQAAAAFmAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZgAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAWcGCQAB9AAAAAMIBQAAAAFmAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZgAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAAWcGCQAB9AAAAAMIBQAAAAFmAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZgAAAAZwcm9vZnMAAAAAAAAAAAIFAAAAAWcAAAAAAAAAAAEAAAAAAAAAAAABAAAAAWgAAAABAAAAAWYEAAAAAWkJAQAAAAFlAAAAAgUAAAABZgUAAAABYQQAAAABagkBAAAAAWUAAAACBQAAAAFmBQAAAAFiBAAAAAFrCQEAAAABZQAAAAIFAAAAAWYFAAAAAWMJAABkAAAAAgkAAGQAAAACBQAAAAFpBQAAAAFqBQAAAAFrAAAAAAAAAAEAAAABZgEAAAABbAAAAAAEAAAAAW0FAAAAAWYDCQAAAQAAAAIFAAAAAW0CAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFuBQAAAAFtCQAB9AAAAAMIBQAAAAFuAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABbgAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAWEDCQAAAQAAAAIFAAAAAW0CAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAW8FAAAAAW0JAABnAAAAAgkBAAAAAWgAAAABBQAAAAFvBQAAAAFkBx7cqvw=", "height": 1872908, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GJGbtjH6hRHAfvQdxb2Ug1wHxhQeYwHGSaQVB4ZXDRKK Next: 7P9hpirfMJZzsBuMnFCQ1x1Deg1aReUTfz8tDWoGiNgq Diff:
OldNewDifferences
77
88 let ericPubKey = base58'8haEN2a7ZmkzawLmnr5rFX14X1oHi5kjt8NQUDNjSDLG'
99
10-let multiSigCount = 1
10+let multiSigCount = 2
1111
1212 func checkSign (tx,pubKey) = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], pubKey))
1313 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let alicePubKey = base58'HxtsXAKo7k2EM5vvWiqRJHGy6cSc8pxWDEpQJhVYJXsa'
55
66 let bobPubKey = base58'HUBVsBcuExqVSbV3mSVhpdKfgihF2nwdtpGmpVLRwxEN'
77
88 let ericPubKey = base58'8haEN2a7ZmkzawLmnr5rFX14X1oHi5kjt8NQUDNjSDLG'
99
10-let multiSigCount = 1
10+let multiSigCount = 2
1111
1212 func checkSign (tx,pubKey) = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], pubKey))
1313 then true
1414 else sigVerify(tx.bodyBytes, tx.proofs[1], pubKey))
1515 then true
1616 else sigVerify(tx.bodyBytes, tx.proofs[2], pubKey))
1717 then 1
1818 else 0
1919
2020
2121 func getMultiSigValue (tx) = {
2222 let aliceSig = checkSign(tx, alicePubKey)
2323 let bobSig = checkSign(tx, bobPubKey)
2424 let ericSig = checkSign(tx, ericPubKey)
2525 ((aliceSig + bobSig) + ericSig)
2626 }
2727
2828
2929
3030 @Verifier(tx)
3131 func verify () = match tx {
3232 case t: SetScriptTransaction =>
3333 sigVerify(t.bodyBytes, t.proofs[0], alicePubKey)
3434 case td: TransferTransaction =>
3535 (getMultiSigValue(td) >= multiSigCount)
3636 case _ =>
3737 false
3838 }
3939

github/deemru/w8io/169f3d6 
19.34 ms