def main() -> bool: pubkeys: List[ECPoint] = [ ECPoint( b'\x03\xcd\xb0g\xd90\xfdZ\xda\xa6\xc6\x85E\x01`D\xaa\xdd\xecd\xba9\xe5H%\x0e\xae\xa5Q\x17.S\\' ), ECPoint( b'\x03l\x841\xccx\xb31w\xa6\x0bK\xcc\x02\xba\xf6\r\x05\xfe\xe5\x03\x8es9\xd3\xa6\x88\xe3\x94\xc2\xcb\xd8C' ) ] signatures: List[bytes] = [b'wrongsignature1', b'wrongsignature2'] return check_multisig(pubkeys, signatures)
def Main(): CryptoLib.verify_with_ecdsa('unit test', ECPoint(b'0123456789ABCDEFGHIJKLMNOPQRSTUVW'), b'signature', NamedCurve.SECP256K1)
def main(public_key: bytes, arg1: Any) -> UInt160: return create_standard_account(ECPoint(public_key), arg1)
def Main(): verify_with_ecdsa(False, ECPoint(b'0123456789ABCDEFGHIJKLMNOPQRSTUVW'), b'signature', NamedCurve.SECP256R1)
def Main(public_key: ECPoint) -> bytes: return public_key.to_script_hash()
def __init__(self): self.balance: int = 0 self.height: int = 0 self.vote_to: ECPoint = ECPoint(bytes(33))
def ecpoint(arg: bytes) -> ECPoint: return ECPoint(arg)
def ecpoint(arg: str) -> ECPoint: return ECPoint(arg)
def ecpoint() -> ECPoint: return ECPoint()
def __init__(self): self.pubkey: ECPoint = ECPoint(b'') self.signature: bytes = b''