def genesis_coin_id_for_genesis_coin_checker(genesis_coin_checker: Program) -> Optional[bytes32]:
    '\n    Given a `genesis_coin_checker` program, pull out the genesis coin id.\n    '
    r = genesis_coin_checker.uncurry()
    if (r is None):
        return r
    (f, args) = r
    if (f != MOD):
        return None
    return args.first().as_atom()
Given a `genesis_coin_checker` program, pull out the genesis coin id.
def genesis_coin_id_for_genesis_coin_checker(genesis_coin_checker: Program) -> Optional[bytes32]:
    '\n    \n    '
    r = genesis_coin_checker.uncurry()
    if (r is None):
        return r
    (f, args) = r
    if (f != MOD):
        return None
    return args.first().as_atom()