

def __init__(self, **kwargs):
    "Create a LooseAddressRecord for a given wallet <model>,\n        color <color_set> and address <address_data>. Also let the constructor\n        know whether it's on <testnet> (optional).\n        <address_data> is the privKey in base58 format\n        "
    super(LooseAddressRecord, kwargs).__init__(**kwargs)
    bin_privkey = a2b_hashed_base58(kwargs['address_data'])
    key_type = bin_privkey[0]
    if (key_type != self.prefix):
        raise InvalidAddressError
    self.rawPrivKey = from_bytes_32(bin_privkey[1:])
    self.publicPoint = (BasePoint * self.rawPrivKey)
    self.address = public_pair_to_bitcoin_address(self.publicPoint.pair(), compressed=False, address_prefix=self.prefix)

dataset/ETHPy150Open chromaway/ngcccbase/ngcccbase/address.py LooseAddressRecord.__init__/VarMisuse@19/116 `self`->`kwargs`